Skip to content

Commit a5a2be2

Browse files
committed
patch 8.0.1129: window toolbar missing a part of the patch
Problem: Window toolbar missing a part of the patch. Solution: Add change in vim.h.
1 parent 37c64c7 commit a5a2be2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
1129,
764766
/**/
765767
1128,
766768
/**/

src/vim.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,11 @@ extern int (*dyn_libintl_putenv)(const char *envstring);
864864
#define W_ENDCOL(wp) (wp->w_wincol + wp->w_width)
865865
#define W_VSEP_WIDTH(wp) (wp->w_vsep_width)
866866
#define W_STATUS_HEIGHT(wp) (wp->w_status_height)
867-
#define W_WINROW(wp) (wp->w_winrow)
867+
#ifdef FEAT_MENU
868+
# define W_WINROW(wp) (wp->w_winrow + wp->w_winbar_height)
869+
#else
870+
# define W_WINROW(wp) (wp->w_winrow)
871+
#endif
868872

869873
#ifdef NO_EXPANDPATH
870874
# define gen_expand_wildcards mch_expand_wildcards

0 commit comments

Comments
 (0)