mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
Merge pull request #749 from ichizok/fix/timer-check
Fix timer handling
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user