summaryrefslogtreecommitdiff
path: root/src/os_msdos.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_msdos.c
parentd35f9711d4558f8784e65531a152d38d1dabbe72 (diff)
downloadvim-git-e3226be91a18160dcae6aefc240bf1d687bcd2a2.tar.gz
updated for version 7.0173v7.0173
Diffstat (limited to 'src/os_msdos.c')
-rw-r--r--src/os_msdos.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/os_msdos.c b/src/os_msdos.c
index 36304cc61..bd18c84a3 100644
--- a/src/os_msdos.c
+++ b/src/os_msdos.c
@@ -1037,8 +1037,7 @@ mch_inchar(
if (WaitForChar(p_ut) == 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;