diff --git a/src/files.c b/src/files.c index bf2b3fd91ee6ebc25cd4e82a25b214ea86176e2d..f1588a3a602d92db6ee3832b8dc14e0ca4388d1c 100644 --- a/src/files.c +++ b/src/files.c @@ -2682,8 +2682,8 @@ char *do_browser(const char *inpath) case NANO_HELP_KEY: case NANO_HELP_FKEY: case '?': /* Pico compatibility */ - do_help(); - break; + do_help(); + break; case NANO_ENTER_KEY: case 'S': /* Pico compatibility */ case 's': diff --git a/src/winio.c b/src/winio.c index 6e0c3a234fb6efccde85f32ec642cb847eb11877..2c09e5ba14cf1a5ee7425d510ed525c8d1b7de4a 100644 --- a/src/winio.c +++ b/src/winio.c @@ -3021,7 +3021,7 @@ int do_help(void) * any more. */ int kbinput = ERR, meta_key; - int no_help_flag = ISSET(NO_HELP); + int old_no_help = ISSET(NO_HELP); int old_cursor = curs_set(0); #ifndef DISABLE_MOUSE const shortcut *oldshortcut = currshortcut; @@ -3119,7 +3119,7 @@ int do_help(void) currshortcut = oldshortcut; #endif - if (no_help_flag) { + if (old_no_help) { blank_bottombars(); wrefresh(bottomwin); SET(NO_HELP);