[Scummvm-cvs-logs] CVS: scummvm/backends/sdl graphics.cpp,1.47,1.48

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Sun May 29 11:08:38 CEST 2005


Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7697

Modified Files:
	graphics.cpp 
Log Message:
Added braces for clarity.


Index: graphics.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/graphics.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- graphics.cpp	14 May 2005 22:56:36 -0000	1.47
+++ graphics.cpp	29 May 2005 18:07:46 -0000	1.48
@@ -1414,7 +1414,7 @@
 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 @@
 			if (_mouseBackup.x > _screenWidth || _mouseBackup.y > _screenHeight)
 				return;
 		}
+	}
 
 	if (_mouseBackup.w) {
 		if (_adjustAspectRatio)





More information about the Scummvm-git-logs mailing list