credits: don't bother blanking the second line nor the help lines

Those lines don't exist in that mode -- the relevant subwindows are
smaller, or have been made smaller just before.
master
Benno Schulenberg 2016-07-27 12:35:15 +02:00
parent df7353b312
commit f3e8991206
2 changed files with 0 additions and 11 deletions

View File

@ -785,7 +785,6 @@ int get_mouseinput(int *mouse_x, int *mouse_y, bool allow_shortcuts);
const sc *get_shortcut(int *kbinput);
void blank_line(WINDOW *win, int y, int x, int n);
void blank_titlebar(void);
void blank_topbar(void);
void blank_edit(void);
void blank_statusbar(void);
void blank_bottombars(void);

View File

@ -1673,14 +1673,6 @@ void blank_titlebar(void)
blank_line(topwin, 0, 0, COLS);
}
/* If the MORE_SPACE flag isn't set, blank the second line of the top
* portion of the window. */
void blank_topbar(void)
{
if (!ISSET(MORE_SPACE))
blank_line(topwin, 1, 0, COLS);
}
/* Blank all the lines of the middle portion of the window, i.e. the
* edit window. */
void blank_edit(void)
@ -3193,10 +3185,8 @@ void do_credits(void)
nodelay(edit, TRUE);
blank_titlebar();
blank_topbar();
blank_edit();
blank_statusbar();
blank_bottombars();
wrefresh(topwin);
wrefresh(edit);