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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user