summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-11-27 20:10:23 -0200
committerHisham Muhammad <hisham@gobolinux.org>2014-11-27 20:10:23 -0200
commitb4f6b110925a56d0818034ad1ecce8214ac873a0 (patch)
treecfd0de9013de6f50ce6bcab14592e44442f853e4 /htop.c
parent5578a316f047551d21f04a5df47fd705bf486ee3 (diff)
Move "get max pid" code into platform specific area.
Diffstat (limited to 'htop.c')
-rw-r--r--htop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/htop.c b/htop.c
index e70c270d..66088e7a 100644
--- a/htop.c
+++ b/htop.c
@@ -680,7 +680,7 @@ int main(int argc, char** argv) {
ProcessList* pl = ProcessList_new(ut, pidWhiteList);
pl->userOnly = userOnly;
pl->userId = userId;
- Process_getMaxPid();
+ Process_setupColumnWidths();
Header* header = Header_new(pl);
Settings* settings = Settings_new(pl, header, pl->cpuCount);

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