nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit e7638ea75f6ef25b28e102d947746f390f4b3b85
parent ce1d7652f330bf54446740b0a43b5ae44cd57bb7
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Tue,  1 Jun 2004 19:49:38 +0000

cosmetic fixes


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1797 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Msrc/files.c | 4++--
Msrc/winio.c | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git 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 @@ -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);