[Scummvm-cvs-logs] CVS: scummvm/gui dialog.cpp,1.11,1.12

James Brown ender at users.sourceforge.net
Tue Sep 17 05:53:04 CEST 2002


Update of /cvsroot/scummvm/scummvm/gui
In directory usw-pr-cvs1:/tmp/cvs-serv28480/gui

Modified Files:
	dialog.cpp 
Log Message:
Fix newgui crash, and commit patch 600645: Loom flashlight fix



Index: dialog.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/dialog.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- dialog.cpp	17 Sep 2002 04:52:50 -0000	1.11
+++ dialog.cpp	17 Sep 2002 12:52:53 -0000	1.12
@@ -151,7 +151,7 @@
 		_focusedWidget = w;
 	}
 
-	if (w == _focusedWidget)
+	if (w && w == _focusedWidget)
 		_focusedWidget->handleMouseDown(x - _focusedWidget->_x, y - _focusedWidget->_y, button, clickCount);
 }
 
@@ -428,8 +428,8 @@
 	: Dialog (gui, 30, 20, 260, 124)
 {
 	addButton(110, 100, 40, 16, CUSTOM_STRING(23), kCloseCmd, 'C');	// Close dialog - FIXME
-	new StaticTextWidget(this, 10, 10, 240, 16, "Build " SCUMMVM_VERSION " (" SCUMMVM_CVS ")", kTextAlignCenter);
-	new StaticTextWidget(this, 10, 30, 240, 16, "ScummVM http://scummvm.sourceforge.net", kTextAlignCenter);
+	new StaticTextWidget(this, 10, 10, 240, 16, "ScummVM " SCUMMVM_VERSION " (" SCUMMVM_CVS ")", kTextAlignCenter);
+	new StaticTextWidget(this, 10, 30, 240, 16, "http://scummvm.sourceforge.net", kTextAlignCenter);
 	new StaticTextWidget(this, 10, 50, 240, 16, "All games (c) LucasArts", kTextAlignCenter);
 	new StaticTextWidget(this, 10, 64, 240, 16, "Except", kTextAlignCenter);
 	new StaticTextWidget(this, 10, 78, 240, 16, "Simon the Sorcerer (c) Adventuresoft", kTextAlignCenter);





More information about the Scummvm-git-logs mailing list