[Scummvm-cvs-logs] SF.net SVN: scummvm: [26670] scummvm/trunk/gui/newgui.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun Apr 29 02:15:33 CEST 2007


Revision: 26670
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26670&view=rev
Author:   lordhoto
Date:     2007-04-28 17:15:32 -0700 (Sat, 28 Apr 2007)

Log Message:
-----------
Fix for crash when trying to select an outdated/wrong theme config.

Modified Paths:
--------------
    scummvm/trunk/gui/newgui.cpp

Modified: scummvm/trunk/gui/newgui.cpp
===================================================================
--- scummvm/trunk/gui/newgui.cpp	2007-04-28 23:21:13 UTC (rev 26669)
+++ scummvm/trunk/gui/newgui.cpp	2007-04-29 00:15:32 UTC (rev 26670)
@@ -134,6 +134,7 @@
 	}
 
 	delete _theme;
+	_theme = 0;
 
 	if (style.compareToIgnoreCase("classic (builtin)") == 0) {
 		_theme = new ThemeClassic(_system, style);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list