mirror of
https://github.com/neovim/neovim.git
synced 2025-10-12 21:06:13 +00:00
refactor: convert macros to all-caps (#17895)
Closes https://github.com/neovim/neovim/issues/6297
This commit is contained in:
@@ -795,7 +795,7 @@ static bool mf_do_open(memfile_T *mfp, char_u *fname, int flags)
|
||||
emsg(_("E300: Swap file already exists (symlink attack?)"));
|
||||
} else {
|
||||
// try to open the file
|
||||
mfp->mf_fd = mch_open_rw((char *)mfp->mf_fname, flags | O_NOFOLLOW);
|
||||
mfp->mf_fd = MCH_OPEN_RW((char *)mfp->mf_fname, flags | O_NOFOLLOW);
|
||||
}
|
||||
|
||||
// If the file cannot be opened, use memory only
|
||||
|
Reference in New Issue
Block a user