Commit e7638ea7 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1797 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 4 additions and 4 deletions
+4 -4
...@@ -2682,8 +2682,8 @@ char *do_browser(const char *inpath) ...@@ -2682,8 +2682,8 @@ char *do_browser(const char *inpath)
case NANO_HELP_KEY: case NANO_HELP_KEY:
case NANO_HELP_FKEY: case NANO_HELP_FKEY:
case '?': /* Pico compatibility */ case '?': /* Pico compatibility */
do_help(); do_help();
break; break;
case NANO_ENTER_KEY: case NANO_ENTER_KEY:
case 'S': /* Pico compatibility */ case 'S': /* Pico compatibility */
case 's': case 's':
......
...@@ -3021,7 +3021,7 @@ int do_help(void) ...@@ -3021,7 +3021,7 @@ int do_help(void)
* any more. */ * any more. */
int kbinput = ERR, meta_key; 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); int old_cursor = curs_set(0);
#ifndef DISABLE_MOUSE #ifndef DISABLE_MOUSE
const shortcut *oldshortcut = currshortcut; const shortcut *oldshortcut = currshortcut;
...@@ -3119,7 +3119,7 @@ int do_help(void) ...@@ -3119,7 +3119,7 @@ int do_help(void)
currshortcut = oldshortcut; currshortcut = oldshortcut;
#endif #endif
if (no_help_flag) { if (old_no_help) {
blank_bottombars(); blank_bottombars();
wrefresh(bottomwin); wrefresh(bottomwin);
SET(NO_HELP); SET(NO_HELP);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment