diff src/gui.c @ 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 972ea22c946f
children 25f7d8ee04c7
line wrap: on
line diff
--- a/src/gui.c
+++ b/src/gui.c
@@ -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