1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2017-03-12 18:23:53 +01:00
parent 8774845ce1
commit b5aedf3e22
30 changed files with 194 additions and 166 deletions

View File

@@ -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;