aboutsummaryrefslogtreecommitdiffstats
path: root/EnvScreen.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2020-09-15 08:00:00 +0200
committerDaniel Lange <DLange@git.local>2020-09-15 08:00:00 +0200
commitf80394a20254938142011855f2954b3f63fe5909 (patch)
treeb777de460977f21a6257540d6a687c86882850dc /EnvScreen.c
parent59eeadec918a955b40427a1b012992161050c939 (diff)
downloaddebian_htop-f80394a20254938142011855f2954b3f63fe5909.tar.gz
debian_htop-f80394a20254938142011855f2954b3f63fe5909.tar.bz2
debian_htop-f80394a20254938142011855f2954b3f63fe5909.zip
New upstream version 3.0.2upstream/3.0.2
Diffstat (limited to 'EnvScreen.c')
-rw-r--r--EnvScreen.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/EnvScreen.c b/EnvScreen.c
index 855023a..479a45d 100644
--- a/EnvScreen.c
+++ b/EnvScreen.c
@@ -11,13 +11,6 @@
#include <string.h>
#include <unistd.h>
-/*{
-#include "InfoScreen.h"
-
-typedef struct EnvScreen_ {
- InfoScreen super;
-} EnvScreen;
-}*/
InfoScreenClass EnvScreen_class = {
.super = {
@@ -44,7 +37,7 @@ void EnvScreen_draw(InfoScreen* this) {
void EnvScreen_scan(InfoScreen* this) {
Panel* panel = this->display;
- int idx = MAX(Panel_getSelectedIndex(panel), 0);
+ int idx = MAXIMUM(Panel_getSelectedIndex(panel), 0);
Panel_prune(panel);

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