aboutsummaryrefslogtreecommitdiffstats
path: root/EnvScreen.c
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2020-09-15 08:00:01 +0200
committerDaniel Lange <DLange@git.local>2020-09-15 08:00:01 +0200
commit8e8165109aca4e3c2a8558653df088d674061c78 (patch)
treed68c91ced3a78c65be9ae262ea84676e73cac68d /EnvScreen.c
parente9302ddfaeaad62b12bdd352958fb194a26f3c74 (diff)
parentf80394a20254938142011855f2954b3f63fe5909 (diff)
downloaddebian_htop-8e8165109aca4e3c2a8558653df088d674061c78.tar.gz
debian_htop-8e8165109aca4e3c2a8558653df088d674061c78.tar.bz2
debian_htop-8e8165109aca4e3c2a8558653df088d674061c78.zip
Update upstream source from tag 'upstream/3.0.2'
Update to upstream version '3.0.2' with Debian dir 26e1b8d7612e50e81b8325506c1ce54f71cba270
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