Mercurial > vim
comparison src/vim.h @ 12513:3ca08bf99396 v8.0.1135
patch 8.0.1135: W_WINCOL() is always the same
commit https://github.com/vim/vim/commit/53f8174eaeb93b381cf74c58863f8fe82748a22a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 22 14:35:51 2017 +0200
patch 8.0.1135: W_WINCOL() is always the same
Problem: W_WINCOL() is always the same.
Solution: Expand the macro.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 22 Sep 2017 14:45:06 +0200 |
parents | b0fc1cdec2da |
children | 972ea22c946f |
comparison
equal
deleted
inserted
replaced
12512:018c1e1dc521 | 12513:3ca08bf99396 |
---|---|
857 /* Flags for find_file_*() functions. */ | 857 /* Flags for find_file_*() functions. */ |
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_WINCOL(wp) (wp->w_wincol) | |
863 #define W_WIDTH(wp) (wp->w_width) | 862 #define W_WIDTH(wp) (wp->w_width) |
864 #define W_ENDCOL(wp) (wp->w_wincol + wp->w_width) | 863 #define W_ENDCOL(wp) (wp->w_wincol + wp->w_width) |
865 #define W_VSEP_WIDTH(wp) (wp->w_vsep_width) | 864 #define W_VSEP_WIDTH(wp) (wp->w_vsep_width) |
866 #define W_STATUS_HEIGHT(wp) (wp->w_status_height) | 865 #define W_STATUS_HEIGHT(wp) (wp->w_status_height) |
867 #ifdef FEAT_MENU | 866 #ifdef FEAT_MENU |