summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-04-10 14:55:34 +0000
committerBram Moolenaar <Bram@vim.org>2006-04-10 14:55:34 +0000
commit779b74b2a23643aaac026341a4ed8bd6e04371e6 (patch)
treeff8fae99da608c087d6b56075dac7c0e73a7e1d7 /src/gui.c
parentc6fe919573e82727a7de014daab122ffc5001854 (diff)
updated for version 7.0dv7.0d
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui.c b/src/gui.c
index 208b72154f..3d677dba5e 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -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