diff options
author | Ole Loots <ole@monochrom.net> | 2012-11-28 21:30:24 +0100 |
---|---|---|
committer | Ole Loots <ole@monochrom.net> | 2012-11-28 21:30:24 +0100 |
commit | ff7cf937629933e782eb8103dadb8b5f27f14a4d (patch) | |
tree | b4067d388769f26d95e032437b1cb518de5ed09e /atari/schedule.c | |
parent | fe0e2508e62323955df415b45e2ea9b1b7d6373f (diff) | |
download | netsurf-ff7cf937629933e782eb8103dadb8b5f27f14a4d.tar.gz netsurf-ff7cf937629933e782eb8103dadb8b5f27f14a4d.tar.bz2 |
Started refactoring of global redraw handling.
Diffstat (limited to 'atari/schedule.c')
-rwxr-xr-x | atari/schedule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/atari/schedule.c b/atari/schedule.c index 8040c80a8..a91c510b3 100755 --- a/atari/schedule.c +++ b/atari/schedule.c @@ -158,8 +158,8 @@ schedule_run(void) prev_nscb = NULL; nexttime = cur_nscb->timeout; - while ( cur_nscb != NULL ) { - if ( now > cur_nscb->timeout ) { + while (cur_nscb != NULL) { + if (now > cur_nscb->timeout) { /* scheduled time */ /* remove callback */ @@ -194,7 +194,7 @@ schedule_run(void) /* if the time to the event is sooner than the * currently recorded soonest event record it */ - if( nexttime > cur_nscb->timeout ){ + if (nexttime > cur_nscb->timeout) { nexttime = cur_nscb->timeout; } /* move to next element */ |