summaryrefslogtreecommitdiff
path: root/src/os_amiga.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-12-18 22:10:00 +0000
committerBram Moolenaar <Bram@vim.org>2005-12-18 22:10:00 +0000
commite3226be91a18160dcae6aefc240bf1d687bcd2a2 (patch)
tree038f14a1dc33c2598be03b661a0b7d6194001fca /src/os_amiga.c
parentd35f9711d4558f8784e65531a152d38d1dabbe72 (diff)
downloadvim-e3226be91a18160dcae6aefc240bf1d687bcd2a2.zip
updated for version 7.0173
Diffstat (limited to 'src/os_amiga.c')
-rw-r--r--src/os_amiga.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/os_amiga.c b/src/os_amiga.c
index 2c2a770e0..17e071e75 100644
--- a/src/os_amiga.c
+++ b/src/os_amiga.c
@@ -139,8 +139,7 @@ mch_inchar(buf, maxlen, time, tb_change_cnt)
if (WaitForChar(raw_in, p_ut * 1000L) == 0)
{
#ifdef FEAT_AUTOCMD
- if (!did_cursorhold && has_cursorhold()
- && get_real_state() == NORMAL_BUSY && maxlen >= 3)
+ if (trigger_cursorhold() && maxlen >= 3)
{
buf[0] = K_SPECIAL;
buf[1] = KS_EXTRA;