summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-12-18 22:02:33 +0000
committerBram Moolenaar <Bram@vim.org>2005-12-18 22:02:33 +0000
commitd35f9711d4558f8784e65531a152d38d1dabbe72 (patch)
treeb87fb3537c2ac512ca97a6e342c1cb9762e40892 /src/gui.c
parentda1b1a735765071185281ce86a379ea0d078cb17 (diff)
updated for version 7.0173
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui.c b/src/gui.c
index 32416cb59c..75085ced29 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -2653,8 +2653,7 @@ gui_wait_for_chars(wtime)
if (gui_mch_wait_for_chars(p_ut) == OK)
retval = OK;
#ifdef FEAT_AUTOCMD
- else if (!did_cursorhold && has_cursorhold()
- && get_real_state() == NORMAL_BUSY)
+ else if (trigger_cursorhold())
{
char_u buf[3];
@@ -4639,7 +4638,7 @@ gui_do_findrepl(flags, find_text, repl_text, down)
u_sync();
del_bytes((long)(regmatch.endp[0] - regmatch.startp[0]),
- FALSE);
+ FALSE, FALSE);
ins_str(repl_text);
}
}