cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3169 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2005-11-12 20:04:18 +00:00
parent 6533e235e8
commit eb5e08fb98
2 changed files with 3 additions and 2 deletions

View File

@ -234,7 +234,7 @@ char *do_browser(char *path, DIR *dir)
free_chararray(filelist, numents); free_chararray(filelist, numents);
goto change_browser_directory; goto change_browser_directory;
/* Refresh the screen. */ /* Redraw the screen. */
case NANO_REFRESH_KEY: case NANO_REFRESH_KEY:
total_redraw(); total_redraw();
break; break;

View File

@ -117,9 +117,10 @@ void do_help(void)
} }
if (kbinput == NANO_REFRESH_KEY) if (kbinput == NANO_REFRESH_KEY)
/* Redraw the screen. */
total_redraw(); total_redraw();
else { else {
if (line == old_line && kbinput != ERR) if (kbinput != ERR && line == old_line)
goto skip_redisplay; goto skip_redisplay;
blank_edit(); blank_edit();