diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-04-25 04:18:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-24 20:18:43 -0600 |
commit | 0648100fed65cbe8efe774ae997ab841cae01872 (patch) | |
tree | 4b2b5a41f58ddf442a69726f6a315c393317714b /src/nvim/ex_cmds2.c | |
parent | 7813fa2f8cc3885788abc5c5dceea6638d8416e6 (diff) | |
download | rneovim-0648100fed65cbe8efe774ae997ab841cae01872.tar.gz rneovim-0648100fed65cbe8efe774ae997ab841cae01872.tar.bz2 rneovim-0648100fed65cbe8efe774ae997ab841cae01872.zip |
refactor: convert macros to all-caps (#17895)
Closes https://github.com/neovim/neovim/issues/6297
Diffstat (limited to 'src/nvim/ex_cmds2.c')
-rw-r--r-- | src/nvim/ex_cmds2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c index 04fcb0304e..5af202c191 100644 --- a/src/nvim/ex_cmds2.c +++ b/src/nvim/ex_cmds2.c @@ -2179,7 +2179,7 @@ scriptitem_T *get_current_script_id(char_u *fname, sctx_T *ret_sctx) bool file_id_equal = file_id_ok && si->file_id_valid && os_fileid_equal(&(si->file_id), &file_id); if (si->sn_name != NULL - && (file_id_equal || fnamecmp(si->sn_name, fname) == 0)) { + && (file_id_equal || FNAMECMP(si->sn_name, fname) == 0)) { break; } } |