write header length (number of columns) back to configuration

This commit is contained in:
Christian Hesse 2015-06-12 01:35:12 +02:00
parent abe165fe5c
commit a804f1f848

View File

@ -85,6 +85,7 @@ void Header_writeBackToSettings(const Header* this) {
colSettings->names = calloc(len+1, sizeof(char*));
colSettings->modes = calloc(len, sizeof(int));
colSettings->len = len;
for (int i = 0; i < len; i++) {
Meter* meter = (Meter*) Vector_get(vec, i);