summaryrefslogtreecommitdiff
path: root/src/blob.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-31 22:49:24 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-31 22:49:24 +0000
commit436b5adc9770a2568209dd5ab1f98bd1afc91898 (patch)
tree623dc85ee9a396b16f939f44d38138f882edc229 /src/blob.c
parentf1474d801bbdb73406dd3d1f931f515f99e86dfa (diff)
downloadvim-git-436b5adc9770a2568209dd5ab1f98bd1afc91898.tar.gz
patch 8.2.3961: error messages are spread outv8.2.3961
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
Diffstat (limited to 'src/blob.c')
-rw-r--r--src/blob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blob.c b/src/blob.c
index 9d41bdc27..37d2be69b 100644
--- a/src/blob.c
+++ b/src/blob.c
@@ -614,7 +614,7 @@ blob_insert_func(typval_T *argvars, typval_T *rettv)
return; // type error; errmsg already given
if (before < 0 || before > len)
{
- semsg(_(e_invarg2), tv_get_string(&argvars[2]));
+ semsg(_(e_invalid_argument_str), tv_get_string(&argvars[2]));
return;
}
}
@@ -623,7 +623,7 @@ blob_insert_func(typval_T *argvars, typval_T *rettv)
return;
if (val < 0 || val > 255)
{
- semsg(_(e_invarg2), tv_get_string(&argvars[1]));
+ semsg(_(e_invalid_argument_str), tv_get_string(&argvars[1]));
return;
}