Commit b1aea7f7 authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Merge pull request #207 from eworm-de/settings

write header length (number of columns) back to configuration
parents 5f604860 a804f1f8
...@@ -85,6 +85,7 @@ void Header_writeBackToSettings(const Header* this) { ...@@ -85,6 +85,7 @@ void Header_writeBackToSettings(const Header* this) {
colSettings->names = calloc(len+1, sizeof(char*)); colSettings->names = calloc(len+1, sizeof(char*));
colSettings->modes = calloc(len, sizeof(int)); colSettings->modes = calloc(len, sizeof(int));
colSettings->len = len;
for (int i = 0; i < len; i++) { for (int i = 0; i < len; i++) {
Meter* meter = (Meter*) Vector_get(vec, i); Meter* meter = (Meter*) Vector_get(vec, i);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment