mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +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:
@@ -1432,7 +1432,7 @@ static char *make_percent_swname(const char *dir, char *name)
|
||||
char *f = fix_fname(name != NULL ? name : "");
|
||||
if (f != NULL) {
|
||||
char *s = xstrdup(f);
|
||||
for (d = s; *d != NUL; mb_ptr_adv(d)) {
|
||||
for (d = s; *d != NUL; MB_PTR_ADV(d)) {
|
||||
if (vim_ispathsep(*d)) {
|
||||
*d = '%';
|
||||
}
|
||||
|
Reference in New Issue
Block a user