summaryrefslogtreecommitdiff
path: root/src/list.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-07-20 21:07:36 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-20 21:07:36 +0200
commite29a27f6f8eef8f00d3c2d4cd9811d81cf3026b3 (patch)
treeeb8bd787e936db02a1617fb033aed2e224b3bbd3 /src/list.c
parent9fa5dabedc4ed5af85773413e91c2fdbe4cb9f0a (diff)
downloadvim-git-e29a27f6f8eef8f00d3c2d4cd9811d81cf3026b3.tar.gz
patch 8.2.3190: error messages are spread outv8.2.3190
Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
Diffstat (limited to 'src/list.c')
-rw-r--r--src/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list.c b/src/list.c
index 4b9236a29..55b9fa0ae 100644
--- a/src/list.c
+++ b/src/list.c
@@ -3049,7 +3049,7 @@ f_reduce(typval_T *argvars, typval_T *rettv)
}
else if (argvars[2].v_type != VAR_NUMBER)
{
- emsg(_(e_number_exp));
+ emsg(_(e_number_expected));
return;
}
else