summaryrefslogtreecommitdiff
path: root/src/userfunc.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/userfunc.c
parentd887297ad0164516dd52cdab0308c3626337d124 (diff)
downloadvim-git-108010aa4720ef023a8ac59004fc0f2bc11125af.tar.gz
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/userfunc.c')
-rw-r--r--src/userfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userfunc.c b/src/userfunc.c
index 4756bf9d3..06fca0cf0 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -4864,7 +4864,7 @@ ex_call(exarg_T *eap)
{
// If the function deleted lines or switched to another buffer
// the line number may become invalid.
- emsg(_(e_invrange));
+ emsg(_(e_invalid_range));
break;
}
curwin->w_cursor.lnum = lnum;