[Scummvm-cvs-logs] CVS: scummvm/gui launcher.cpp,1.26,1.27

Max Horn fingolfin at users.sourceforge.net
Sat Nov 30 18:05:02 CET 2002


Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1:/tmp/cvs-serv11980/gui

Modified Files:
	launcher.cpp 
Log Message:
fix for bug #646218 (Start button in launcher was not getting disabled)

Index: launcher.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/launcher.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- launcher.cpp	25 Nov 2002 09:43:22 -0000	1.26
+++ launcher.cpp	1 Dec 2002 02:04:55 -0000	1.27
@@ -449,7 +449,7 @@
 		close();
 		break;
 	case kListSelectionChangedCmd: {
-		bool enable = (data >= 0);
+		bool enable = ((int)data >= 0);
 		if (enable != _startButton->isEnabled()) {
 			_startButton->setEnabled(enable);
 			_startButton->draw();





More information about the Scummvm-git-logs mailing list