summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-04-01 16:16:18 +0200
committerBram Moolenaar <Bram@vim.org>2021-04-01 16:16:18 +0200
commit49c51b825a7435a750e64f7f0ebd09166e8559df (patch)
tree6618c763a83c3c48975a3be908c30594f487d257 /src/screen.c
parent5c504f680e63120fea36becfabb8d939d4449e34 (diff)
downloadvim-git-49c51b825a7435a750e64f7f0ebd09166e8559df.tar.gz
patch 8.2.2685: custom statusline not drawn correctly with WinBarv8.2.2685
Problem: Custom statusline not drawn correctly with WinBar. Solution: Also adjust the column for the custom status line. (Yee Cheng Chin, closes #8047)
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index d219b13c3..9d5d4df98 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -1248,7 +1248,7 @@ win_redr_custom(
}
else
{
- row = W_WINROW(wp) + wp->w_height;
+ row = statusline_row(wp);
fillchar = fillchar_status(&attr, wp);
maxwidth = wp->w_width;