commit | 436b5adc9770a2568209dd5ab1f98bd1afc91898 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Dec 31 22:49:24 2021 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Dec 31 22:49:24 2021 +0000 |
tree | 623dc85ee9a396b16f939f44d38138f882edc229 | |
parent | f1474d801bbdb73406dd3d1f931f515f99e86dfa [diff] [blame] |
patch 8.2.3961: error messages are spread out Problem: Error messages are spread out. Solution: Move more errors to errors.h.
diff --git a/src/insexpand.c b/src/insexpand.c index 3cefb39..d006135 100644 --- a/src/insexpand.c +++ b/src/insexpand.c
@@ -2746,7 +2746,7 @@ return; if (argvars[1].v_type != VAR_LIST || argvars[1].vval.v_list == NULL) - emsg(_(e_invarg)); + emsg(_(e_invalid_argument)); else { startcol = (int)tv_get_number_chk(&argvars[0], NULL);