summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/gui.c')
-rw-r--r--amiga/gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index e76a01e66..f933ee4c6 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2743,9 +2743,9 @@ void ami_get_msg(void)
}
if(signal & schedulesig) {
- if((timermsg = (struct TimerRequest *)GetMsg(msgport))) {
- ReplyMsg((struct Message *)timermsg);
+ while((timermsg = (struct TimerRequest *)GetMsg(msgport))) {
schedule_run();
+ ReplyMsg((struct Message *)timermsg);
}
}