diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-10 14:55:34 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-10 14:55:34 +0000 |
commit | 779b74b2a23643aaac026341a4ed8bd6e04371e6 (patch) | |
tree | ff8fae99da608c087d6b56075dac7c0e73a7e1d7 /src/gui.c | |
parent | c6fe919573e82727a7de014daab122ffc5001854 (diff) | |
download | vim-git-779b74b2a23643aaac026341a4ed8bd6e04371e6.tar.gz |
updated for version 7.0dv7.0d
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -4931,8 +4931,7 @@ gui_do_findrepl(flags, find_text, repl_text, down) if (u_save_cursor() == OK) { /* A button was pressed thus undo should be synced. */ - if (no_u_sync == 0) - u_sync(); + u_sync(FALSE); del_bytes((long)(regmatch.endp[0] - regmatch.startp[0]), FALSE, FALSE); @@ -4948,8 +4947,7 @@ gui_do_findrepl(flags, find_text, repl_text, down) if (type == FRD_REPLACEALL) { /* A button was pressed, thus undo should be synced. */ - if (no_u_sync == 0) - u_sync(); + u_sync(FALSE); do_cmdline_cmd(ga.ga_data); } else |