summaryrefslogtreecommitdiff
path: root/src/regexp.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-09-07 18:53:21 +0200
committerBram Moolenaar <Bram@vim.org>2020-09-07 18:53:21 +0200
commite83cca291112ea66f49079975e102ee36a47a24e (patch)
tree313fb36ab531a6f2b5c981f920c09aa31212165c /src/regexp.c
parent44d6652d561d628d12e3ff7f6636ea7d1f805ced (diff)
downloadvim-git-e83cca291112ea66f49079975e102ee36a47a24e.tar.gz
patch 8.2.1633: some error messages are internal but do not use iemsg()v8.2.1633
Problem: Some error messages are internal but do not use iemsg(). Solution: Use iemsg(). (Dominique Pellé, closes #6894)
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 22b2d17a3..f7f04ea87 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -2279,7 +2279,7 @@ vim_regsub_both(
else if (*s == NUL) // we hit NUL.
{
if (copy)
- emsg(_(e_re_damg));
+ iemsg(_(e_re_damg));
goto exit;
}
else