commit | 49c51b825a7435a750e64f7f0ebd09166e8559df | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Apr 01 16:16:18 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Apr 01 16:16:18 2021 +0200 |
tree | 6618c763a83c3c48975a3be908c30594f487d257 | |
parent | 5c504f680e63120fea36becfabb8d939d4449e34 [diff] [blame] |
patch 8.2.2685: custom statusline not drawn correctly with WinBar Problem: Custom statusline not drawn correctly with WinBar. Solution: Also adjust the column for the custom status line. (Yee Cheng Chin, closes #8047)
diff --git a/src/screen.c b/src/screen.c index d219b13..9d5d4df 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -1248,7 +1248,7 @@ } else { - row = W_WINROW(wp) + wp->w_height; + row = statusline_row(wp); fillchar = fillchar_status(&attr, wp); maxwidth = wp->w_width;