summaryrefslogtreecommitdiffstats
path: root/htop.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2011-09-08 02:48:53 +0000
committerHisham Muhammad <hisham@gobolinux.org>2011-09-08 02:48:53 +0000
commitf7fe4b4722129a8444b2f07d2ef1ce9d2500e613 (patch)
tree735412c0093433cb71aeef3d78008b422b9bce26 /htop.c
parent4e72e790e338ea806237ce22a82bc96a48b1ee04 (diff)
Fix off-by-one error in PROCESSOR display
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 2818b2e0..fd47a1e9 100644
--- a/htop.c
+++ b/htop.c
@@ -778,7 +778,7 @@ int main(int argc, char** argv) {
if (!ok)
beep();
}
- ((Object*)affinityPanel)->delete((Object*)affinityPanel);
+ Panel_delete((Object*)affinityPanel);
ProcessList_printHeader(pl, Panel_getHeader(panel));
refreshTimeout = 0;
break;

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