summaryrefslogtreecommitdiffstats
path: root/src/drawscreen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drawscreen.c')
-rw-r--r--src/drawscreen.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/drawscreen.c b/src/drawscreen.c
index abf34b5e99..275925727b 100644
--- a/src/drawscreen.c
+++ b/src/drawscreen.c
@@ -2535,8 +2535,10 @@ win_update(win_T *wp)
// Make sure the rest of the screen is blank
// put '~'s on rows that aren't part of the file.
- win_draw_end(wp, WIN_IS_POPUP(wp) ? ' ' : '~',
- ' ', FALSE, row, wp->w_height, HLF_EOB);
+ if (WIN_IS_POPUP(wp))
+ win_draw_end(wp, ' ', ' ', FALSE, row, wp->w_height, HLF_AT);
+ else
+ win_draw_end(wp, '~', ' ', FALSE, row, wp->w_height, HLF_EOB);
}
#ifdef SYN_TIME_LIMIT