Mercurial > vim
diff src/gui.c @ 21:db5102f7e29f
updated for version 7.0013
author | vimboss |
---|---|
date | Thu, 29 Jul 2004 08:43:53 +0000 |
parents | 4424b47a0797 |
children | 726bdc53fa49 |
line wrap: on
line diff
--- a/src/gui.c +++ b/src/gui.c @@ -4586,12 +4586,14 @@ gui_do_findrepl(flags, find_text, repl_t ga_concat(&ga, (char_u *)"/"); concat_esc(&ga, repl_text, '/'); /* escape slashes */ ga_concat(&ga, (char_u *)"/g"); + ga_append(&ga, NUL); do_cmdline_cmd(ga.ga_data); } else { /* Search for the next match. */ i = msg_scroll; + ga_append(&ga, NUL); do_search(NULL, down ? '/' : '?', ga.ga_data, 1L, SEARCH_MSG + SEARCH_MARK); msg_scroll = i; /* don't let an error message set msg_scroll */