Mercurial > vim
comparison src/structs.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 | 718787498836 |
children | 351cf7c67bbe |
comparison
equal
deleted
inserted
replaced
12528:608ee63b6014 | 12529:158917d728b4 |
---|---|
2700 int w_height; /* number of rows in window, excluding | 2700 int w_height; /* number of rows in window, excluding |
2701 status/command/winbar line(s) */ | 2701 status/command/winbar line(s) */ |
2702 int w_status_height; /* number of status lines (0 or 1) */ | 2702 int w_status_height; /* number of status lines (0 or 1) */ |
2703 int w_wincol; /* Leftmost column of window in screen. */ | 2703 int w_wincol; /* Leftmost column of window in screen. */ |
2704 int w_width; /* Width of window, excluding separation. */ | 2704 int w_width; /* Width of window, excluding separation. */ |
2705 int w_vsep_width; /* Number of separator columns (0 or 1). | 2705 int w_vsep_width; /* Number of separator columns (0 or 1). */ |
2706 use W_VSEP_WIDTH() */ | 2706 |
2707 /* | 2707 /* |
2708 * === start of cached values ==== | 2708 * === start of cached values ==== |
2709 */ | 2709 */ |
2710 /* | 2710 /* |
2711 * Recomputing is minimized by storing the result of computations. | 2711 * Recomputing is minimized by storing the result of computations. |