Mercurial > vim
comparison src/drawscreen.c @ 24289:8938c0c98149 v8.2.2685
patch 8.2.2685: custom statusline not drawn correctly with WinBar
Commit: https://github.com/vim/vim/commit/49c51b825a7435a750e64f7f0ebd09166e8559df
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 1 16:16:18 2021 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 01 Apr 2021 16:30:05 +0200 |
parents | 6062e10a7e72 |
children | 9299d21d1d5d |
comparison
equal
deleted
inserted
replaced
24288:9f2f0ae1db47 | 24289:8938c0c98149 |
---|---|
378 } | 378 } |
379 | 379 |
380 /* | 380 /* |
381 * Return the row for drawing the statusline and the ruler of window "wp". | 381 * Return the row for drawing the statusline and the ruler of window "wp". |
382 */ | 382 */ |
383 static int | 383 int |
384 statusline_row(win_T *wp) | 384 statusline_row(win_T *wp) |
385 { | 385 { |
386 #if defined(FEAT_PROP_POPUP) | 386 #if defined(FEAT_PROP_POPUP) |
387 // If the window is really zero height the winbar isn't displayed. | 387 // If the window is really zero height the winbar isn't displayed. |
388 if (wp->w_frame->fr_height == wp->w_status_height && !popup_is_popup(wp)) | 388 if (wp->w_frame->fr_height == wp->w_status_height && !popup_is_popup(wp)) |