diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-07-29 08:43:53 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-07-29 08:43:53 +0000 |
commit | 269ec658f0fad22b2bf9f71b06a4e6e10277f0e5 (patch) | |
tree | 450e57b10e8afd1c2a0c49e698a73d508781f67c /src/gui.c | |
parent | 5eb86f91992f5291b8b472d3e1be1888508777e6 (diff) |
updated for version 7.0013
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4586,12 +4586,14 @@ gui_do_findrepl(flags, find_text, repl_text, down) 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 */ |