Check new timer before [MMBackend waitForInput:]

This commit is contained in:
ichizok
2018-05-25 13:11:30 +09:00
parent 1f7e0c9ec1
commit 92fcfe15a5
+9
View File
@@ -431,7 +431,16 @@ gui_mch_wait_for_chars(int wtime)
[[MMBackend sharedInstance] flushQueue:YES];
#ifdef MESSAGE_QUEUE
# ifdef FEAT_TIMERS
did_add_timer = FALSE;
# endif
parse_queued_messages();
# ifdef FEAT_TIMERS
if (did_add_timer)
wtime = 0;
# endif
#endif
return [[MMBackend sharedInstance] waitForInput:wtime];