mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.0.0451: some macros are in lower case
Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
This commit is contained in:
@@ -3211,12 +3211,12 @@ syn_add_end_off(
|
||||
if (off > 0)
|
||||
{
|
||||
while (off-- > 0 && *p != NUL)
|
||||
mb_ptr_adv(p);
|
||||
MB_PTR_ADV(p);
|
||||
}
|
||||
else if (off < 0)
|
||||
{
|
||||
while (off++ < 0 && base < p)
|
||||
mb_ptr_back(base, p);
|
||||
MB_PTR_BACK(base, p);
|
||||
}
|
||||
col = (int)(p - base);
|
||||
}
|
||||
@@ -3265,12 +3265,12 @@ syn_add_start_off(
|
||||
if (off > 0)
|
||||
{
|
||||
while (off-- && *p != NUL)
|
||||
mb_ptr_adv(p);
|
||||
MB_PTR_ADV(p);
|
||||
}
|
||||
else if (off < 0)
|
||||
{
|
||||
while (off++ && base < p)
|
||||
mb_ptr_back(base, p);
|
||||
MB_PTR_BACK(base, p);
|
||||
}
|
||||
col = (int)(p - base);
|
||||
}
|
||||
|
Reference in New Issue
Block a user