Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
2289:3331756e4232 | 2290:22529abcd646 |
---|---|
5174 || count_only) | 5174 || count_only) |
5175 && messaging()) | 5175 && messaging()) |
5176 { | 5176 { |
5177 if (got_int) | 5177 if (got_int) |
5178 STRCPY(msg_buf, _("(Interrupted) ")); | 5178 STRCPY(msg_buf, _("(Interrupted) ")); |
5179 else | |
5180 *msg_buf = NUL; | |
5179 if (sub_nsubs == 1) | 5181 if (sub_nsubs == 1) |
5180 vim_snprintf_add((char *)msg_buf, sizeof(msg_buf), | 5182 vim_snprintf_add((char *)msg_buf, sizeof(msg_buf), |
5181 "%s", count_only ? _("1 match") : _("1 substitution")); | 5183 "%s", count_only ? _("1 match") : _("1 substitution")); |
5182 else | 5184 else |
5183 vim_snprintf_add((char *)msg_buf, sizeof(msg_buf), | 5185 vim_snprintf_add((char *)msg_buf, sizeof(msg_buf), |