more cosmetic fixes

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4085 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
David Lawrence Ramsey 2007-04-19 03:15:04 +00:00
parent b68cd635bc
commit b94d51aa7e
6 changed files with 17 additions and 15 deletions

View File

@ -1816,6 +1816,7 @@ const toggle *get_toggle(int kbinput, bool meta_key)
void blank_line(WINDOW *win, int y, int x, int n) void blank_line(WINDOW *win, int y, int x, int n)
{ {
wmove(win, y, x); wmove(win, y, x);
for (; n > 0; n--) for (; n > 0; n--)
waddch(win, ' '); waddch(win, ' ');
} }
@ -1839,6 +1840,7 @@ void blank_topbar(void)
void blank_edit(void) void blank_edit(void)
{ {
int i; int i;
for (i = 0; i < editwinrows; i++) for (i = 0; i < editwinrows; i++)
blank_line(edit, i, 0, COLS); blank_line(edit, i, 0, COLS);
} }