diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-05 20:24:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-05 20:24:39 +0000 |
commit | d82a47dd0493ee976aa3f15ecdc9aea7da6ad5bf (patch) | |
tree | 604109254c7057942fce5c1af26fdd1bc36c066f /src/viminfo.c | |
parent | bb8cac56d9c398a2b546d9c81c15e8c3d8fd811e (diff) | |
download | vim-git-d82a47dd0493ee976aa3f15ecdc9aea7da6ad5bf.tar.gz |
patch 8.2.4012: error messages are spread outv8.2.4012
Problem: Error messages are spread out.
Solution: Move the last error messages to errors.h.
Diffstat (limited to 'src/viminfo.c')
-rw-r--r-- | src/viminfo.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/viminfo.c b/src/viminfo.c index 9cf152606..3f9e5f3be 100644 --- a/src/viminfo.c +++ b/src/viminfo.c @@ -3220,8 +3220,7 @@ write_viminfo(char_u *file, int forceit) { // They all exist? Must be something wrong! Don't write // the viminfo file then. - semsg(_("E929: Too many viminfo temp files, like %s!"), - tempname); + semsg(_(e_too_many_viminfo_temp_files_like_str), tempname); break; } *wp = next_char; @@ -3293,7 +3292,7 @@ write_viminfo(char_u *file, int forceit) if (vim_rename(tempname, fname) == -1) { ++viminfo_errcnt; - semsg(_("E886: Can't rename viminfo file to %s!"), fname); + semsg(_(e_cant_rename_viminfo_file_to_str), fname); } # ifdef MSWIN // If the viminfo file was hidden then also hide the new file. |