summaryrefslogtreecommitdiff
path: root/src/regexp.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-02 19:25:26 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-02 19:25:26 +0000
commitac78dd4a352196ca4e6640f8e4caaf126afd49e3 (patch)
treec741cbf5a8f33503e42af2294afdbd4bf15b0ae9 /src/regexp.c
parent3d0da09bb2d31afc611bf1c4b35796739d87ed63 (diff)
downloadvim-git-8.2.3985.tar.gz
patch 8.2.3985: error messages are spread outv8.2.3985
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/regexp.c')
-rw-r--r--src/regexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp.c b/src/regexp.c
index 9e3d218fb..fdcd6d10e 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -66,7 +66,7 @@ toggle_Magic(int x)
#define EMSG2_RET_NULL(m, c) return (semsg((const char *)(m), (c) ? "" : "\\"), rc_did_emsg = TRUE, (void *)NULL)
#define EMSG3_RET_NULL(m, c, a) return (semsg((const char *)(m), (c) ? "" : "\\", (a)), rc_did_emsg = TRUE, (void *)NULL)
#define EMSG2_RET_FAIL(m, c) return (semsg((const char *)(m), (c) ? "" : "\\"), rc_did_emsg = TRUE, FAIL)
-#define EMSG_ONE_RET_NULL EMSG2_RET_NULL(_("E369: invalid item in %s%%[]"), reg_magic == MAGIC_ALL)
+#define EMSG_ONE_RET_NULL EMSG2_RET_NULL(_(e_invalid_item_in_str_brackets), reg_magic == MAGIC_ALL)
#define MAX_LIMIT (32767L << 16L)