diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-09-24 16:24:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-09-24 16:24:34 +0200 |
commit | e0de17d84e1612dbc9362989194de5674f221de5 (patch) | |
tree | 5fb945466e99a3d5ebc418a2e61e333f9c1a5905 /src/gui.c | |
parent | 378daf87d380b9f3c4f822786dfbfdcad9ca2db9 (diff) | |
download | vim-git-e0de17d84e1612dbc9362989194de5674f221de5.tar.gz |
patch 8.0.1143: macros always expand to the same thingv8.0.1143
Problem: Macros always expand to the same thing.
Solution: Remove W_VSEP_WIDTH() and W_STATUS_HEIGHT().
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4910,10 +4910,10 @@ xy2win(int x UNUSED, int y UNUSED) } else if (row > wp->w_height) /* below status line */ update_mouseshape(SHAPE_IDX_CLINE); - else if (!(State & CMDLINE) && W_VSEP_WIDTH(wp) > 0 && col == wp->w_width + else if (!(State & CMDLINE) && wp->w_vsep_width > 0 && col == wp->w_width && (row != wp->w_height || !stl_connected(wp)) && msg_scrolled == 0) update_mouseshape(SHAPE_IDX_VSEP); - else if (!(State & CMDLINE) && W_STATUS_HEIGHT(wp) > 0 + else if (!(State & CMDLINE) && wp->w_status_height > 0 && row == wp->w_height && msg_scrolled == 0) update_mouseshape(SHAPE_IDX_STATUS); else |