summaryrefslogtreecommitdiff
path: root/src/regexp.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/regexp.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/regexp.c')
-rw-r--r--src/regexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regexp.c b/src/regexp.c
index 78d643174..b33c08b4d 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -4150,7 +4150,7 @@ reg_match_visual(void)
if (VIsual_active)
{
- if (lt(VIsual, wp->w_cursor))
+ if (LT_POS(VIsual, wp->w_cursor))
{
top = VIsual;
bot = wp->w_cursor;
@@ -4164,7 +4164,7 @@ reg_match_visual(void)
}
else
{
- if (lt(curbuf->b_visual.vi_start, curbuf->b_visual.vi_end))
+ if (LT_POS(curbuf->b_visual.vi_start, curbuf->b_visual.vi_end))
{
top = curbuf->b_visual.vi_start;
bot = curbuf->b_visual.vi_end;