diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-16 23:01:21 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-03-16 23:01:21 -0300 |
commit | 9ff5d2b243472ae73d10dafdd7c0e24dc5052f6d (patch) | |
tree | 87c7999202ec8bb4f57ad6e5a056738c731f73cd /Settings.c | |
parent | 14a177800bfa41bc2b3bb07d45204cbe464cf1b3 (diff) |
Fix saving of header states, motion in Setup screen.
Diffstat (limited to 'Settings.c')
-rw-r--r-- | Settings.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |