diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-07-24 02:56:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-24 02:56:18 +0200 |
commit | 2b473a9df8dc4a6f0129ae3b0f830cdac3864620 (patch) | |
tree | 1f3153258386fec61320ee6bbbf2793c9cdb55b7 /src/nvim/screen.c | |
parent | d011facf456dc85308cf58b6f0c6a06c4ddd7bb2 (diff) | |
parent | 86f2c473dc0e5b3c886d71b2fee99e1f3c9849b6 (diff) | |
download | rneovim-2b473a9df8dc4a6f0129ae3b0f830cdac3864620.tar.gz rneovim-2b473a9df8dc4a6f0129ae3b0f830cdac3864620.tar.bz2 rneovim-2b473a9df8dc4a6f0129ae3b0f830cdac3864620.zip |
Merge #7061 from ckelsel/vim-8.0.0069
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r-- | src/nvim/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index a8353153fd..bcc996679b 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -991,7 +991,7 @@ static void win_update(win_T *wp) * first. */ if (mid_start == 0) { mid_end = wp->w_height; - if (lastwin == firstwin) { + if (ONE_WINDOW) { /* Clear the screen when it was not done by win_del_lines() or * win_ins_lines() above, "screen_cleared" is FALSE or MAYBE * then. */ @@ -7160,7 +7160,7 @@ static int fillchar_status(int *attr, win_T *wp) * window differs, or the fillchars differ, or this is not the * current window */ if (*attr != 0 && ((win_hl_attr(wp, HLF_S) != win_hl_attr(wp, HLF_SNC) - || !is_curwin || firstwin == lastwin) + || !is_curwin || ONE_WINDOW) || (fill_stl != fill_stlnc))) { return fill; } |