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/coroutine.h | |
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/coroutine.h')
-rw-r--r-- | engines/tinsel/coroutine.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/tinsel/coroutine.h b/engines/tinsel/coroutine.h index 30d90970b6..d2c2c21b3a 100644 --- a/engines/tinsel/coroutine.h +++ b/engines/tinsel/coroutine.h @@ -126,7 +126,7 @@ public: /** Stop the currently running coroutine */ #define CORO_KILL_SELF() \ - do { if (&coroParam != &nullContext) { coroParam->_sleep = -1; } return; } while(0) + do { if (&coroParam != &nullContext) { coroParam->_sleep = -1; } return; } while (0) /** Invoke another coroutine */ #define CORO_INVOKE_ARGS(subCoro, ARGS) \ @@ -139,7 +139,7 @@ public: coroParam->_sleep = coroParam->_subctx->_sleep;\ assert(&coroParam != &nullContext);\ return; case __LINE__:;\ - } while(1);\ + } while (1);\ } while (0) #define CORO_INVOKE_ARGS_V(subCoro, RESULT, ARGS) \ do {\ @@ -151,7 +151,7 @@ public: coroParam->_sleep = coroParam->_subctx->_sleep;\ assert(&coroParam != &nullContext);\ return RESULT; case __LINE__:;\ - } while(1);\ + } while (1);\ } while (0) #define CORO_INVOKE_0(subCoroutine) \ |