summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/help.c b/src/help.c
index 9a5ac3a..0d736f6 100644
--- a/src/help.c
+++ b/src/help.c
@@ -181,7 +181,7 @@ void help() {
wrefresh(input_win);
d = wgetch(input_win);
}
- if (d == OKEY_ENTER && ( strcmp(hline, "q") == 0 || strcmp(hline, "quit") == 0 )) {
+ if (d == OKEY_ENTER && ( ! strcmp(hline, "q") || ! strcmp(hline, "quit") || ! strcmp(hline, "q!") )) {
quit_help_now = TRUE;
} else if (d == OKEY_ESC) {
wmove(input_win, 0, rescol);