summaryrefslogtreecommitdiffstats
path: root/src/diff.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-05 20:24:39 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-05 20:24:39 +0000
commitd82a47dd0493ee976aa3f15ecdc9aea7da6ad5bf (patch)
tree604109254c7057942fce5c1af26fdd1bc36c066f /src/diff.c
parentbb8cac56d9c398a2b546d9c81c15e8c3d8fd811e (diff)
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/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 5a98196126..4136d99b44 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -1139,7 +1139,7 @@ diff_file_internal(diffio_T *diffio)
&diffio->dio_new.din_mmfile,
&param, &emit_cfg, &emit_cb) < 0)
{
- emsg(_("E960: Problem creating the internal diff"));
+ emsg(_(e_problem_creating_internal_diff));
return FAIL;
}
return OK;
@@ -1733,7 +1733,7 @@ diff_read(
}
else
{
- emsg(_("E959: Invalid diff format."));
+ emsg(_(e_invalid_diff_format));
break;
}
}