diff src/ex_cmds.c @ 2290:22529abcd646 vim73

Fixed ":s" message. Docs updates.
author Bram Moolenaar <bram@vim.org>
date Sat, 10 Jul 2010 13:52:13 +0200
parents 941ff1cd317a
children ccda151dde4e
line wrap: on
line diff
--- 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"));