summaryrefslogtreecommitdiffstats
path: root/src/arglist.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-01 14:19:49 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-01 14:19:49 +0000
commit460ae5dfca31fa627531c263184849976755cf6b (patch)
treed94de6a24285bc10fd62ad4ae9aecb53f9a7e913 /src/arglist.c
parentb37a65e4bf08c4eec4fa5b81a5efc3945fca44de (diff)
patch 8.2.3967: error messages are spread outv8.2.3967
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
Diffstat (limited to 'src/arglist.c')
-rw-r--r--src/arglist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arglist.c b/src/arglist.c
index 104c67a00f..3ca5e4ccce 100644
--- a/src/arglist.c
+++ b/src/arglist.c
@@ -460,7 +460,7 @@ do_arglist(
vim_regfree(regmatch.regprog);
vim_free(p);
if (!didone)
- semsg(_(e_nomatch2), ((char_u **)new_ga.ga_data)[i]);
+ semsg(_(e_no_match_str_2), ((char_u **)new_ga.ga_data)[i]);
}
ga_clear(&new_ga);
}
@@ -471,7 +471,7 @@ do_arglist(
ga_clear(&new_ga);
if (i == FAIL || exp_count == 0)
{
- emsg(_(e_nomatch));
+ emsg(_(e_no_match));
return FAIL;
}