diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-05 16:09:06 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-05 16:09:06 +0000 |
commit | 677658ae49de31fe2e5b1fa6d93fdfab85a4362e (patch) | |
tree | f5f0bbdda081ce1dad3bcaf7f4e6cf3281774cac /src/diff.c | |
parent | 8e7d9db32b53ca2b1cb7570d2042860bcd1e943f (diff) | |
download | vim-git-677658ae49de31fe2e5b1fa6d93fdfab85a4362e.tar.gz |
patch 8.2.4008: error messages are spread outv8.2.4008
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diff.c b/src/diff.c index 59b7891b9..fa2ab41f8 100644 --- a/src/diff.c +++ b/src/diff.c @@ -2682,7 +2682,7 @@ ex_diffgetput(exarg_T *eap) if (idx_other == DB_COUNT) { if (found_not_ma) - emsg(_("E793: No other buffer in diff mode is modifiable")); + emsg(_(e_no_other_buffer_in_diff_mode_is_modifiable)); else emsg(_(e_no_other_buffer_in_diff_mode)); return; @@ -2769,7 +2769,7 @@ ex_diffgetput(exarg_T *eap) change_warning(0); if (diff_buf_idx(curbuf) != idx_to) { - emsg(_("E787: Buffer changed unexpectedly")); + emsg(_(e_buffer_changed_unexpectedly)); goto theend; } } |