summaryrefslogtreecommitdiff
path: root/src/ui.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/ui.c
parent8774845ce1a7def122ea07c057a79417f3be3d17 (diff)
downloadvim-git-b5aedf3e228d35821591da9ae8501b61cf2e264c.tar.gz
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/ui.c')
-rw-r--r--src/ui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui.c b/src/ui.c
index 4da79f0c1..d89c500ae 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -442,7 +442,7 @@ clip_update_selection(VimClipboard *clip)
/* If visual mode is only due to a redo command ("."), then ignore it */
if (!redo_VIsual_busy && VIsual_active && (State & NORMAL))
{
- if (lt(VIsual, curwin->w_cursor))
+ if (LT_POS(VIsual, curwin->w_cursor))
{
start = VIsual;
end = curwin->w_cursor;
@@ -456,8 +456,8 @@ clip_update_selection(VimClipboard *clip)
start = curwin->w_cursor;
end = VIsual;
}
- if (!equalpos(clip->start, start)
- || !equalpos(clip->end, end)
+ if (!EQUAL_POS(clip->start, start)
+ || !EQUAL_POS(clip->end, end)
|| clip->vmode != VIsual_mode)
{
clip_clear_selection(clip);