diff options
author | Torbjörn Andersson | 2013-05-31 19:30:36 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2013-05-31 19:30:36 +0200 |
commit | f7099c57d1bd2cbed983596abaee85c7dc9194c3 (patch) | |
tree | 72b404df92cd5b6539071913abdc7f496853aef7 /po | |
parent | f38c7d76efe277c9dc3b48ab666abcbebeb73373 (diff) | |
download | scummvm-rg350-f7099c57d1bd2cbed983596abaee85c7dc9194c3.tar.gz scummvm-rg350-f7099c57d1bd2cbed983596abaee85c7dc9194c3.tar.bz2 scummvm-rg350-f7099c57d1bd2cbed983596abaee85c7dc9194c3.zip |
NEVERHOOD: Made multi-line function-line macros safer
Wrapped the code in the SetUpdateHandler(), SetMessageHandler(),
SetSpriteUpdate(), SetFilterX(), SetFilterY() and NextState()
macros in "do { ... } while (0)". Otherwise you may fool yourself
because in "if (condition) macro();" the "if" will only cover the
first statement of the macro.
CID 1022340, 1022341, 1022342, 1022343
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions