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 e1518eca..e40682a3 100644
--- a/Settings.h
+++ b/Settings.h
@@ -31,7 +31,7 @@ typedef struct Settings_ {
int direction;
ProcessField sortKey;
- bool countCPUsFromZero;
+ bool countCPUsFromOne;
bool detailedCPUTime;
bool showCPUUsage;
bool showCPUFrequency;
@@ -56,7 +56,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);