From 108010aa4720ef023a8ac59004fc0f2bc11125af Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 27 Jun 2021 22:03:33 +0200 Subject: patch 8.2.3069: error messages are spread out Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names. --- src/quickfix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/quickfix.c') 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; } -- cgit v1.2.3