comparison src/vim.h @ 12529:158917d728b4 v8.0.1143

patch 8.0.1143: macros always expand to the same thing commit https://github.com/vim/vim/commit/e0de17d84e1612dbc9362989194de5674f221de5 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 24 16:24:34 2017 +0200 patch 8.0.1143: macros always expand to the same thing Problem: Macros always expand to the same thing. Solution: Remove W_VSEP_WIDTH() and W_STATUS_HEIGHT().
author Christian Brabandt <cb@256bit.org>
date Sun, 24 Sep 2017 16:30:04 +0200
parents f62696bd1a9f
children b1a7e3968a31
comparison
equal deleted inserted replaced
12528:608ee63b6014 12529:158917d728b4
858 #define FINDFILE_FILE 0 /* only files */ 858 #define FINDFILE_FILE 0 /* only files */
859 #define FINDFILE_DIR 1 /* only directories */ 859 #define FINDFILE_DIR 1 /* only directories */
860 #define FINDFILE_BOTH 2 /* files and directories */ 860 #define FINDFILE_BOTH 2 /* files and directories */
861 861
862 #define W_ENDCOL(wp) (wp->w_wincol + wp->w_width) 862 #define W_ENDCOL(wp) (wp->w_wincol + wp->w_width)
863 #define W_VSEP_WIDTH(wp) (wp->w_vsep_width)
864 #define W_STATUS_HEIGHT(wp) (wp->w_status_height)
865 #ifdef FEAT_MENU 863 #ifdef FEAT_MENU
866 # define W_WINROW(wp) (wp->w_winrow + wp->w_winbar_height) 864 # define W_WINROW(wp) (wp->w_winrow + wp->w_winbar_height)
867 #else 865 #else
868 # define W_WINROW(wp) (wp->w_winrow) 866 # define W_WINROW(wp) (wp->w_winrow)
869 #endif 867 #endif