commit f3e8991206624edc9fafc5e742c23f1bb1c70fca
parent df7353b312412e61653b11c76cd5b9f6adfff3a6
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Wed, 27 Jul 2016 12:35:15 +0200
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.
Diffstat:
2 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/src/proto.h b/src/proto.h
@@ -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);
diff --git a/src/winio.c b/src/winio.c
@@ -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);