summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
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 f5ccbccb..8fee54d6 100644
--- a/htop.c
+++ b/htop.c
@@ -681,7 +681,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);