diff options
author | Torbjörn Andersson | 2005-05-29 18:07:46 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-05-29 18:07:46 +0000 |
commit | 9ffe00b78d3d598b17b2614d0ef6295c5caf1c74 (patch) | |
tree | 61d7959f71a571ca71e0a1e0906d98a6d3f88ddf | |
parent | e9c71f3a98e9ad504d7bb33355f1e6956f5ab0a0 (diff) | |
download | scummvm-rg350-9ffe00b78d3d598b17b2614d0ef6295c5caf1c74.tar.gz scummvm-rg350-9ffe00b78d3d598b17b2614d0ef6295c5caf1c74.tar.bz2 scummvm-rg350-9ffe00b78d3d598b17b2614d0ef6295c5caf1c74.zip |
Added braces for clarity.
svn-id: r18295
-rw-r--r-- | backends/sdl/graphics.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/sdl/graphics.cpp b/backends/sdl/graphics.cpp index fc5db722b4..9b8de045dd 100644 --- a/backends/sdl/graphics.cpp +++ b/backends/sdl/graphics.cpp @@ -1414,7 +1414,7 @@ void OSystem_SDL::toggleMouseGrab() { void OSystem_SDL::undrawMouse() { // When we switch bigger overlay off mouse jumps. Argh! // this intended to prevent undrawing offscreen mouse - if (!_overlayVisible) + if (!_overlayVisible) { if (_adjustAspectRatio) { if (_mouseBackup.x > _screenWidth || aspect2Real(_mouseBackup.y) > _screenHeight) return; @@ -1422,6 +1422,7 @@ void OSystem_SDL::undrawMouse() { if (_mouseBackup.x > _screenWidth || _mouseBackup.y > _screenHeight) return; } + } if (_mouseBackup.w) { if (_adjustAspectRatio) |