summaryrefslogtreecommitdiffstats
path: root/src/diff.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-05 17:49:15 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-05 17:49:15 +0000
commit9d00e4a8146862c17ed429dc6b1b43349acb2b5f (patch)
tree79a1e0d0a738940dba6a9a86936376bd62e04ca3 /src/diff.c
parentd3a117814d6acbf0dca3eff1a7626843b9b3734a (diff)
patch 8.2.4010: error messages are spread outv8.2.4010
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/diff.c')
-rw-r--r--src/diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diff.c b/src/diff.c
index fa2ab41f86..5a98196126 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -1096,7 +1096,7 @@ check_external_diff(diffio_T *diffio)
if (!ok)
{
if (io_error)
- emsg(_("E810: Cannot read or write temp files"));
+ emsg(_(e_cannot_read_or_write_temp_files));
emsg(_(e_cannot_create_diffs));
diff_a_works = MAYBE;
#if defined(MSWIN)
@@ -1337,7 +1337,7 @@ ex_diffpatch(exarg_T *eap)
// Only continue if the output file was created.
if (mch_stat((char *)tmp_new, &st) < 0 || st.st_size == 0)
- emsg(_("E816: Cannot read patch output"));
+ emsg(_(e_cannot_read_patch_output));
else
{
if (curbuf->b_fname != NULL)