summaryrefslogtreecommitdiff
path: root/src/regexp_bt.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-02 17:00:40 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-02 17:00:40 +0000
commiteaaac014a01ce37c1f86dbda054c01a5c6f034e7 (patch)
treeb775ac0b4332e8f73bc763ed1414f73639c187d6 /src/regexp_bt.c
parent8bfa0eb863357c1013024233ebb2e95a0a848002 (diff)
downloadvim-git-eaaac014a01ce37c1f86dbda054c01a5c6f034e7.tar.gz
patch 8.2.3983: error messages are spread outv8.2.3983
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
Diffstat (limited to 'src/regexp_bt.c')
-rw-r--r--src/regexp_bt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regexp_bt.c b/src/regexp_bt.c
index 076a74db8..2af1f56bf 100644
--- a/src/regexp_bt.c
+++ b/src/regexp_bt.c
@@ -2517,7 +2517,7 @@ bt_regcomp(char_u *expr, int re_flags)
{
vim_free(r);
if (reg_toolong)
- EMSG_RET_NULL(_("E339: Pattern too long"));
+ EMSG_RET_NULL(_(e_pattern_too_long));
return NULL;
}