]> git.wh0rd.org Git - nano.git/commitdiff
cosmetic fixes
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Sat, 12 Nov 2005 20:04:18 +0000 (20:04 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Sat, 12 Nov 2005 20:04:18 +0000 (20:04 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3169 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/browser.c
src/help.c

index df997194bff12d0a9a583b86682be039cd68e378..8eca7d204e72a9cd02f3cee94a8681fb17ce0baf 100644 (file)
@@ -234,7 +234,7 @@ char *do_browser(char *path, DIR *dir)
                free_chararray(filelist, numents);
                goto change_browser_directory;
 
-           /* Refresh the screen. */
+           /* Redraw the screen. */
            case NANO_REFRESH_KEY:
                total_redraw();
                break;
index 587d323df07b3465660f288e292c185a6170b43c..327d492eace98262b014319283219c7f3c09f103 100644 (file)
@@ -117,9 +117,10 @@ void do_help(void)
        }
 
        if (kbinput == NANO_REFRESH_KEY)
+           /* Redraw the screen. */
            total_redraw();
        else {
-           if (line == old_line && kbinput != ERR)
+           if (kbinput != ERR && line == old_line)
                goto skip_redisplay;
 
            blank_edit();