summaryrefslogtreecommitdiff
path: root/src/quickfix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-04 21:30:47 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-04 21:30:47 +0000
commita6f7929e62c19a6a2418a016b4c59b83eb1887ac (patch)
treedff539628404695bd64e68602c8f7f62d9dd12f7 /src/quickfix.c
parent548911ee145cdd166f20e46aa720d1631e66f64e (diff)
downloadvim-git-a6f7929e62c19a6a2418a016b4c59b83eb1887ac.tar.gz
patch 8.2.4005: error messages are spread outv8.2.4005
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index c2747b7ad..f7d35f805 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -6116,7 +6116,7 @@ vgr_process_args(
p = skipwhite(p);
if (*p == NUL)
{
- emsg(_("E683: File name missing or invalid pattern"));
+ emsg(_(e_file_name_missing_or_invalid_pattern));
return FAIL;
}
@@ -7785,7 +7785,7 @@ cbuffer_process_args(
if (buf->b_ml.ml_mfp == NULL)
{
- emsg(_("E681: Buffer is not loaded"));
+ emsg(_(e_buffer_is_not_loaded));
return FAIL;
}