mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
refactor: convert macros to all-caps (#17895)
Closes https://github.com/neovim/neovim/issues/6297
This commit is contained in:
@@ -2503,7 +2503,7 @@ void ex_function(exarg_T *eap)
|
||||
p = vim_strchr(scriptname, '/');
|
||||
plen = (int)STRLEN(p);
|
||||
slen = (int)STRLEN(sourcing_name);
|
||||
if (slen > plen && fnamecmp(p,
|
||||
if (slen > plen && FNAMECMP(p,
|
||||
sourcing_name + slen - plen) == 0) {
|
||||
j = OK;
|
||||
}
|
||||
|
Reference in New Issue
Block a user