summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-12 18:23:53 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-12 18:23:53 +0100
commitb5aedf3e228d35821591da9ae8501b61cf2e264c (patch)
tree39cdf29566db1e5ed8b2235d2b0240c859163bd8 /src/gui.c
parent8774845ce1a7def122ea07c057a79417f3be3d17 (diff)
patch 8.0.0448: some macros are in lower casev8.0.0448
Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui.c b/src/gui.c
index 203035f5d2..36d6975ed4 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -4476,7 +4476,7 @@ gui_do_scroll(void)
pum_redraw();
#endif
- return (wp == curwin && !equalpos(curwin->w_cursor, old_cursor));
+ return (wp == curwin && !EQUAL_POS(curwin->w_cursor, old_cursor));
}
@@ -5118,7 +5118,7 @@ gui_update_screen(void)
curwin->w_p_cole > 0
# endif
)
- && !equalpos(last_cursormoved, curwin->w_cursor))
+ && !EQUAL_POS(last_cursormoved, curwin->w_cursor))
{
# ifdef FEAT_AUTOCMD
if (has_cursormoved())