From b5aedf3e228d35821591da9ae8501b61cf2e264c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 12 Mar 2017 18:23:53 +0100 Subject: patch 8.0.0448: some macros are in lower case Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case. --- src/regexp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/regexp.c') 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; -- cgit v1.2.1