summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-11-22 14:18:00 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-11-22 14:18:00 +0000
commitfe567952057e820b040371be639842fcb2317bf2 (patch)
tree1c64926e3b24ac0bd458d702dfafe2ad22c0982c /amiga/gui.c
parentd9a63bb9e080281a2e88f0117672d1e5eac927ca (diff)
downloadnetsurf-fe567952057e820b040371be639842fcb2317bf2.tar.gz
netsurf-fe567952057e820b040371be639842fcb2317bf2.tar.bz2
Revert "Should be a while loop in case of multiple simultaneous event triggers."
This reverts commit 9dcf001a0bf6d09864783125390e20c8eb53c12f. For ehatever reason this is entirely broken, but I'm in the process of rewriting so just revert for now to get the working builds again.
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 f933ee4c6..e76a01e66 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -2743,9 +2743,9 @@ void ami_get_msg(void)
}
if(signal & schedulesig) {
- while((timermsg = (struct TimerRequest *)GetMsg(msgport))) {
- schedule_run();
+ if((timermsg = (struct TimerRequest *)GetMsg(msgport))) {
ReplyMsg((struct Message *)timermsg);
+ schedule_run();
}
}