diff options
author | Max Horn | 2009-01-29 05:26:12 +0000 |
---|---|---|
committer | Max Horn | 2009-01-29 05:26:12 +0000 |
commit | ac59693be26b4239aaaf380896a1e1b753172546 (patch) | |
tree | b64a9b664917ed86e78e90560b034f0b1ee49054 /engines/tinsel/tinsel.cpp | |
parent | a0a82d911c77b63f2069dbc39ab26394fe4d377d (diff) | |
download | scummvm-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/tinsel/tinsel.cpp')
-rw-r--r-- | engines/tinsel/tinsel.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp index 9481ea4859..2524c3e6a2 100644 --- a/engines/tinsel/tinsel.cpp +++ b/engines/tinsel/tinsel.cpp @@ -323,7 +323,7 @@ static void SingleLeftProcess(CORO_PARAM, const void *) { // Timeout a double click (may not work once every 49 days!) do { CORO_SLEEP(1); - } while(DwGetCurrentTime() < _ctx->endTicks); + } while (DwGetCurrentTime() < _ctx->endTicks); if (GetProvNotProcessed()) PlayerEvent(PLR_WALKTO, clickPos); @@ -1043,7 +1043,8 @@ Common::Error TinselEngine::go() { continue; // run flat-out #endif // Loop processing events while there are any pending - while (pollEvent()); + while (pollEvent()) + ; DoCdChange(); |