aboutsummaryrefslogtreecommitdiff
path: root/engines/sky
diff options
context:
space:
mode:
authorMax Horn2009-01-29 05:26:12 +0000
committerMax Horn2009-01-29 05:26:12 +0000
commitac59693be26b4239aaaf380896a1e1b753172546 (patch)
treeb64a9b664917ed86e78e90560b034f0b1ee49054 /engines/sky
parenta0a82d911c77b63f2069dbc39ab26394fe4d377d (diff)
downloadscummvm-rg350-ac59693be26b4239aaaf380896a1e1b753172546.tar.gz
scummvm-rg350-ac59693be26b4239aaaf380896a1e1b753172546.tar.bz2
scummvm-rg350-ac59693be26b4239aaaf380896a1e1b753172546.zip
A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
svn-id: r36127
Diffstat (limited to 'engines/sky')
-rw-r--r--engines/sky/screen.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sky/screen.cpp b/engines/sky/screen.cpp
index 32487c1fdb..9ecb838c6b 100644
--- a/engines/sky/screen.cpp
+++ b/engines/sky/screen.cpp
@@ -401,7 +401,8 @@ void Screen::waitForTimer(void) {
Common::Event event;
_system->delayMillis(10);
- while (eventMan->pollEvent(event));
+ while (eventMan->pollEvent(event))
+ ;
}
}
@@ -411,7 +412,8 @@ void Screen::waitForSequence(void) {
Common::Event event;
_system->delayMillis(20);
- while (eventMan->pollEvent(event));
+ while (eventMan->pollEvent(event))
+ ;
}
}