summaryrefslogtreecommitdiffstats
path: root/src/quickfix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-06-27 22:03:33 +0200
committerBram Moolenaar <Bram@vim.org>2021-06-27 22:03:33 +0200
commit108010aa4720ef023a8ac59004fc0f2bc11125af (patch)
tree831741a42644a86ee0d74679361f74cc27861eaa /src/quickfix.c
parentd887297ad0164516dd52cdab0308c3626337d124 (diff)
patch 8.2.3069: error messages are spread outv8.2.3069
Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names.
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index 36574b80f7..4ac4a01a10 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -3830,7 +3830,7 @@ qf_history(exarg_T *eap)
qf_update_buffer(qi, NULL);
}
else
- emsg(_(e_invrange));
+ emsg(_(e_invalid_range));
return;
}
@@ -5655,7 +5655,7 @@ ex_cbelow(exarg_T *eap)
if (eap->addr_count > 0 && eap->line2 <= 0)
{
- emsg(_(e_invrange));
+ emsg(_(e_invalid_range));
return;
}
@@ -7817,7 +7817,7 @@ cbuffer_process_args(
if (eap->line1 < 1 || eap->line1 > buf->b_ml.ml_line_count
|| eap->line2 < 1 || eap->line2 > buf->b_ml.ml_line_count)
{
- emsg(_(e_invrange));
+ emsg(_(e_invalid_range));
return FAIL;
}