mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 10:18: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:
@@ -531,7 +531,7 @@ open_line (
|
||||
int l;
|
||||
|
||||
while (old_size < repl_size && p > leader) {
|
||||
mb_ptr_back(leader, p);
|
||||
MB_PTR_BACK(leader, p);
|
||||
old_size += ptr2cells(p);
|
||||
}
|
||||
l = lead_repl_len - (int)(endp - p);
|
||||
@@ -1311,7 +1311,7 @@ int plines_win_col(win_T *wp, linenr_T lnum, long column)
|
||||
colnr_T col = 0;
|
||||
while (*s != NUL && --column >= 0) {
|
||||
col += win_lbr_chartabsize(wp, line, s, col, NULL);
|
||||
mb_ptr_adv(s);
|
||||
MB_PTR_ADV(s);
|
||||
}
|
||||
|
||||
// If *s is a TAB, and the TAB is not displayed as ^I, and we're not in
|
||||
|
Reference in New Issue
Block a user