Fix saving of header states, motion in Setup screen.

This commit is contained in:
Hisham Muhammad
2015-03-16 23:01:21 -03:00
parent 14a177800b
commit 9ff5d2b243
8 changed files with 58 additions and 12 deletions

View File

@ -109,6 +109,7 @@ static void Settings_defaultMeters(Settings* this, int cpuCount) {
for (int i = 0; i < 2; i++) {
this->columns[i].names = calloc(sizes[i], sizeof(char*));
this->columns[i].modes = calloc(sizes[i], sizeof(int));
this->columns[i].len = sizes[i];
}
int r = 0;
@ -371,6 +372,7 @@ Settings* Settings_new(int cpuCount) {
this->hideKernelThreads = true;
this->highlightMegabytes = true;
this->highlightThreads = false;
this->headerMargin = true;
}
}
free(legacyDotfile);