summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-10 13:52:13 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-10 13:52:13 +0200
commit0bc380a96b87ee02b01a7d4677ad4d973563a84e (patch)
treed459d5f3edebe4ae3a7b144dadda984bfaa3e5f9 /src/ex_cmds.c
parentd04b7507fde8bb7e3103ce53f2156c798b5e5245 (diff)
downloadvim-git-0bc380a96b87ee02b01a7d4677ad4d973563a84e.tar.gz
Fixed ":s" message. Docs updates.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index e1d270ca5..c0668cf0e 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -5176,6 +5176,8 @@ do_sub_msg(count_only)
{
if (got_int)
STRCPY(msg_buf, _("(Interrupted) "));
+ else
+ *msg_buf = NUL;
if (sub_nsubs == 1)
vim_snprintf_add((char *)msg_buf, sizeof(msg_buf),
"%s", count_only ? _("1 match") : _("1 substitution"));