diff --git a/src/browser.c b/src/browser.c index c5c93e82..2f6f22dd 100644 --- a/src/browser.c +++ b/src/browser.c @@ -352,8 +352,8 @@ char *do_browser(char *path, DIR *dir) /* Start over again with the new path value. */ free_chararray(filelist, filelist_len); goto change_browser_directory; + /* Abort the file browser. */ case NANO_EXIT_KEY: - /* Abort the file browser. */ abort = TRUE; break; } diff --git a/src/help.c b/src/help.c index da5d01f7..a56ef3e6 100644 --- a/src/help.c +++ b/src/help.c @@ -106,6 +106,7 @@ void do_help(void (*refresh_func)(void)) } break; #endif + /* Redraw the screen. */ case NANO_REFRESH_KEY: total_redraw(); kbinput = ERR; @@ -138,8 +139,8 @@ void do_help(void (*refresh_func)(void)) line = last_line - (editwinrows - 1); } break; + /* Abort the help browser. */ case NANO_EXIT_KEY: - /* Abort the help browser. */ abort = TRUE; break; }