summaryrefslogtreecommitdiffstats
path: root/src/cmdexpand.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/cmdexpand.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/cmdexpand.c')
-rw-r--r--src/cmdexpand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c
index 9468beba75..e496bc3675 100644
--- a/src/cmdexpand.c
+++ b/src/cmdexpand.c
@@ -366,13 +366,13 @@ ExpandOne(
// are wildcards, the real problem is that there was no match,
// causing the pattern to be added, which has illegal characters.
if (!(options & WILD_SILENT) && (options & WILD_LIST_NOTFOUND))
- semsg(_(e_nomatch2), str);
+ semsg(_(e_no_match_str_2), str);
#endif
}
else if (xp->xp_numfiles == 0)
{
if (!(options & WILD_SILENT))
- semsg(_(e_nomatch2), str);
+ semsg(_(e_no_match_str_2), str);
}
else
{