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.
diff --git a/src/regexp.c b/src/regexp.c
index 78d6431..b33c08b 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -4150,7 +4150,7 @@
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 @@
}
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;