1
0
forked from aniani/vim

patch 8.2.3983: error messages are spread out

Problem:    Error messages are spread out.
Solution:   Move more error messages to errors.h.
This commit is contained in:
Bram Moolenaar
2022-01-02 17:00:40 +00:00
parent 8bfa0eb863
commit eaaac014a0
12 changed files with 163 additions and 64 deletions

View File

@@ -1264,7 +1264,7 @@ mf_do_open(
if ((flags & O_CREAT) && mch_lstat((char *)mfp->mf_fname, &sb) >= 0)
{
mfp->mf_fd = -1;
emsg(_("E300: Swap file already exists (symlink attack?)"));
emsg(_(e_swap_file_already_exists_symlink_attack));
}
else
#endif