From 9ffe00b78d3d598b17b2614d0ef6295c5caf1c74 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 29 May 2005 18:07:46 +0000 Subject: Added braces for clarity. svn-id: r18295 --- backends/sdl/graphics.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backends/sdl') 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) -- cgit v1.2.3