diff options
Diffstat (limited to 'Settings.h')
-rw-r--r-- | Settings.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -34,7 +34,7 @@ typedef struct Settings_ { int direction; ProcessField sortKey; - bool countCPUsFromZero; + bool countCPUsFromOne; bool detailedCPUTime; bool showCPUUsage; bool showCPUFrequency; @@ -59,7 +59,7 @@ typedef struct Settings_ { bool changed; } Settings; -#define Settings_cpuId(settings, cpu) ((settings)->countCPUsFromZero ? (cpu) : (cpu)+1) +#define Settings_cpuId(settings, cpu) ((settings)->countCPUsFromOne ? (cpu)+1 : (cpu)) void Settings_delete(Settings* this); |