summaryrefslogtreecommitdiffstats
path: root/Settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'Settings.h')
-rw-r--r--Settings.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Settings.h b/Settings.h
index 4eece3b0..bbd40e16 100644
--- a/Settings.h
+++ b/Settings.h
@@ -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);