mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
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:
@@ -1403,7 +1403,8 @@ getvcol(
|
||||
&& (State & NORMAL)
|
||||
&& !wp->w_p_list
|
||||
&& !virtual_active()
|
||||
&& !(VIsual_active && (*p_sel == 'e' || ltoreq(*pos, VIsual)))
|
||||
&& !(VIsual_active
|
||||
&& (*p_sel == 'e' || LTOREQ_POS(*pos, VIsual)))
|
||||
)
|
||||
*cursor = vcol + incr - 1; /* cursor at end */
|
||||
else
|
||||
@@ -1496,7 +1497,7 @@ getvcols(
|
||||
{
|
||||
colnr_T from1, from2, to1, to2;
|
||||
|
||||
if (ltp(pos1, pos2))
|
||||
if (LT_POSP(pos1, pos2))
|
||||
{
|
||||
getvvcol(wp, pos1, &from1, NULL, &to1);
|
||||
getvvcol(wp, pos2, &from2, NULL, &to2);
|
||||
|
Reference in New Issue
Block a user