Merge pull request #207 from eworm-de/settings

write header length (number of columns) back to configuration
This commit is contained in:
Hisham Muhammad 2015-06-16 16:13:50 -03:00
commit b1aea7f748

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);