From: David Lawrence Ramsey Date: Tue, 1 Jun 2004 19:49:38 +0000 (+0000) Subject: cosmetic fixes X-Git-Tag: v1.3.3~22 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e7638ea75f6ef25b28e102d947746f390f4b3b85;p=nano.git cosmetic fixes git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1797 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/files.c b/src/files.c index bf2b3fd9..f1588a3a 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 6e0c3a23..2c09e5ba 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);