summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flowtop.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/flowtop.c b/flowtop.c
index 42f1a4b..41e80b7 100644
--- a/flowtop.c
+++ b/flowtop.c
@@ -1257,11 +1257,7 @@ static void presenter(void)
show_active_only = !show_active_only;
break;
case '?':
- if (show_help)
- show_help = false;
- else
- show_help = true;
-
+ show_help = !show_help;
wclear(screen);
clear();
break;