aboutsummaryrefslogtreecommitdiff
path: root/gui/error.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2013-05-31 19:30:36 +0200
committerTorbjörn Andersson2013-05-31 19:30:36 +0200
commitf7099c57d1bd2cbed983596abaee85c7dc9194c3 (patch)
tree72b404df92cd5b6539071913abdc7f496853aef7 /gui/error.h
parentf38c7d76efe277c9dc3b48ab666abcbebeb73373 (diff)
downloadscummvm-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 'gui/error.h')
0 files changed, 0 insertions, 0 deletions