summaryrefslogtreecommitdiffstats
path: root/ColumnsPanel.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-03-16 01:43:04 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-03-16 01:43:04 -0300
commitbe1700cf9479f4199bb3810db831da943691b8f7 (patch)
treea4b6689f58ea8abe6db455aa8976bd6cc5377fd8 /ColumnsPanel.c
parentbc928d7f47f787514d2eb58d4f1083e0160ad167 (diff)
Isolate portable and Linux-specific process fields.
Diffstat (limited to 'ColumnsPanel.c')
-rw-r--r--ColumnsPanel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ColumnsPanel.c b/ColumnsPanel.c
index d249312e..02b3d386 100644
--- a/ColumnsPanel.c
+++ b/ColumnsPanel.c
@@ -135,7 +135,7 @@ ColumnsPanel* ColumnsPanel_new(Settings* settings) {
}
int ColumnsPanel_fieldNameToIndex(const char* name) {
- for (int j = 1; j <= LAST_PROCESSFIELD; j++) {
+ for (int j = 1; j <= Platform_numberOfFields; j++) {
if (String_eq(name, Process_fields[j].name)) {
return j;
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy