Mercurial > vim
diff src/vim.h @ 12500:b0fc1cdec2da v8.0.1129
patch 8.0.1129: window toolbar missing a part of the patch
commit https://github.com/vim/vim/commit/a5a2be26febee62da480265ed9a52f782d5b4388
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 19 22:08:04 2017 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Sep 2017 22:15:07 +0200 |
parents | 68d7bc045dbe |
children | 3ca08bf99396 |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -864,7 +864,11 @@ extern int (*dyn_libintl_putenv)(const c #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