diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-08-20 00:32:47 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-08-20 00:32:47 -0300 |
commit | 9428010121d849344b33b66dec312b6a51ea564f (patch) | |
tree | ae4284959359c87a1748240e5a568742e7e1db00 /unsupported | |
parent | 8bd603cb68fb5dd768b5b23ffe0c6f09f5340ceb (diff) |
Make column width calculation dynamic.
Closes #228.
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/Platform.c | 3 | ||||
-rw-r--r-- | unsupported/Platform.h | 1 |
2 files changed, 0 insertions, 4 deletions
diff --git a/unsupported/Platform.c b/unsupported/Platform.c index 5f74ec2e..5dd2e8f8 100644 --- a/unsupported/Platform.c +++ b/unsupported/Platform.c @@ -80,7 +80,6 @@ void Platform_setBindings(Htop_Action* keys) { int Platform_numberOfFields = 100; char* Process_pidFormat = "%7u "; -char* Process_tpgidFormat = "%7u "; int Platform_getUptime() { return 0; @@ -107,7 +106,6 @@ void Process_setupColumnWidths() { Process_fields[PGRP].title = " PGRP "; Process_fields[SESSION].title = " SESN "; Process_pidFormat = "%7u "; - Process_tpgidFormat = "%7d "; } else { Process_fields[PID].title = " PID "; Process_fields[PPID].title = " PPID "; @@ -116,7 +114,6 @@ void Process_setupColumnWidths() { Process_fields[PGRP].title = " PGRP "; Process_fields[SESSION].title = " SESN "; Process_pidFormat = "%5u "; - Process_tpgidFormat = "%5d "; } } diff --git a/unsupported/Platform.h b/unsupported/Platform.h index 2b987405..155b2d30 100644 --- a/unsupported/Platform.h +++ b/unsupported/Platform.h @@ -24,7 +24,6 @@ void Platform_setBindings(Htop_Action* keys); extern int Platform_numberOfFields; extern char* Process_pidFormat; -extern char* Process_tpgidFormat; int Platform_getUptime(); |