[Scummvm-cvs-logs] CVS: scummvm/base main.cpp,1.19,1.20

Pawel Kolodziejski aquadran at users.sourceforge.net
Sun Nov 2 02:13:06 CET 2003


Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1:/tmp/cvs-serv5878/base

Modified Files:
	main.cpp 
Log Message:
fixed warnings

Index: main.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/main.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- main.cpp	2 Nov 2003 02:18:12 -0000	1.19
+++ main.cpp	2 Nov 2003 10:12:07 -0000	1.20
@@ -283,7 +283,7 @@
 		}
 	
 		// (De)activate fullscreen mode as determined by the config settings 
-		if (ConfMan.getBool("fullscreen") != system->property(OSystem::PROP_GET_FULLSCREEN, 0))
+		if (ConfMan.getBool("fullscreen") != (system->property(OSystem::PROP_GET_FULLSCREEN, 0) != 0))
 			system->property(OSystem::PROP_TOGGLE_FULLSCREEN, 0);
 	
 		// Create the game engine





More information about the Scummvm-git-logs mailing list