diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-19 22:08:04 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-19 22:08:04 +0200 |
commit | a5a2be26febee62da480265ed9a52f782d5b4388 (patch) | |
tree | 49b9d16ef1eab1aeaa04d938e230e4a92d82846c /src/vim.h | |
parent | 37c64c78fd87e086b5a945ad7032787c274e2dcb (diff) | |
download | vim-git-a5a2be26febee62da480265ed9a52f782d5b4388.tar.gz |
patch 8.0.1129: window toolbar missing a part of the patchv8.0.1129
Problem: Window toolbar missing a part of the patch.
Solution: Add change in vim.h.
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -864,7 +864,11 @@ extern int (*dyn_libintl_putenv)(const char *envstring); #define W_ENDCOL(wp) (wp->w_wincol + wp->w_width) #define W_VSEP_WIDTH(wp) (wp->w_vsep_width) #define W_STATUS_HEIGHT(wp) (wp->w_status_height) -#define W_WINROW(wp) (wp->w_winrow) +#ifdef FEAT_MENU +# define W_WINROW(wp) (wp->w_winrow + wp->w_winbar_height) +#else +# define W_WINROW(wp) (wp->w_winrow) +#endif #ifdef NO_EXPANDPATH # define gen_expand_wildcards mch_expand_wildcards |