mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
vim-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.
91acfffc1e
This commit is contained in:
@@ -603,7 +603,7 @@ static char_u *mark_line(pos_T *mp, int lead_len)
|
||||
|
||||
/* Truncate the line to fit it in the window */
|
||||
len = 0;
|
||||
for (p = s; *p != NUL; mb_ptr_adv(p)) {
|
||||
for (p = s; *p != NUL; MB_PTR_ADV(p)) {
|
||||
len += ptr2cells(p);
|
||||
if (len >= Columns - lead_len)
|
||||
break;
|
||||
|
Reference in New Issue
Block a user