forked from aniani/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.
This commit is contained in:
@@ -833,7 +833,7 @@ u_get_undo_file_name(char_u *buf_ffname, int reading)
|
||||
munged_name = vim_strsave(ffname);
|
||||
if (munged_name == NULL)
|
||||
return NULL;
|
||||
for (p = munged_name; *p != NUL; mb_ptr_adv(p))
|
||||
for (p = munged_name; *p != NUL; MB_PTR_ADV(p))
|
||||
if (vim_ispathsep(*p))
|
||||
*p = '%';
|
||||
}
|
||||
|
Reference in New Issue
Block a user