Use wider PID columns in 64-bit machines with larger pid_max values.

This commit is contained in:
Hisham Muhammad
2011-09-29 18:40:23 +00:00
parent d25a0bc213
commit 75080ce79d
3 changed files with 40 additions and 10 deletions

1
htop.c
View File

@ -350,6 +350,7 @@ int main(int argc, char** argv) {
UsersTable* ut = UsersTable_new();
pl = ProcessList_new(ut);
Process_getMaxPid();
Header* header = Header_new(pl);
settings = Settings_new(pl, header);