aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-04-18 15:33:02 +0000
committerTorbjörn Andersson2005-04-18 15:33:02 +0000
commited2ed47701b8531d153c4c4fc933543e7be24b93 (patch)
treeb08320b14c1e80c4795a884cf5080c6455e21ab9 /backends
parent1143bdf96ef276997c065d6f5d80e8e81608b243 (diff)
downloadscummvm-rg350-ed2ed47701b8531d153c4c4fc933543e7be24b93.tar.gz
scummvm-rg350-ed2ed47701b8531d153c4c4fc933543e7be24b93.tar.bz2
scummvm-rg350-ed2ed47701b8531d153c4c4fc933543e7be24b93.zip
Braces for clarity, even though it *is* well-defined which 'if' the 'else'
belongs to. svn-id: r17670
Diffstat (limited to 'backends')
-rw-r--r--backends/sdl/graphics.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp
index 01fa3e36cc..327395169e 100644
--- a/backends/sdl/graphics.cpp
+++ b/backends/sdl/graphics.cpp
@@ -106,11 +106,12 @@ void OSystem_SDL::endGFXTransaction(void) {
loadGFXMode();
clearOverlay();
} else {
- if (!_transactionDetails.fsChanged)
+ if (!_transactionDetails.fsChanged) {
if (_transactionDetails.needHotswap)
hotswapGFXMode();
else if (_transactionDetails.needUpdatescreen)
internUpdateScreen();
+ }
}
if (_transactionDetails.fsChanged)