help: remove an unneeded restriction for small terminals

There is no need to prevent NO_HELP from being unset on terminals
with fewer than five rows, because the bottombars() routine already
automatically suppresses the help lines on such terminals.

This improves the fix for https://savannah.gnu.org/bugs/?61497.

(The problem with absent feedback is still there when the terminal
has just one row.)
master
Benno Schulenberg 2021-11-17 16:57:50 +01:00
parent 4f15890105
commit 956a1c2327
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ void show_help(void)
memcpy(stash, flags, sizeof(flags));
/* Ensure that the help screen's shortcut list can be displayed. */
if ((ISSET(NO_HELP) || ISSET(ZERO)) && LINES > 4) {
if (ISSET(NO_HELP) || ISSET(ZERO)) {
UNSET(NO_HELP);
UNSET(ZERO);
window_init();