[Scummvm-cvs-logs] CVS: scummvm/gui launcher.cpp,1.55,1.56

Max Horn fingolfin at users.sourceforge.net
Thu Oct 16 16:27:17 CEST 2003


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

Modified Files:
	launcher.cpp 
Log Message:
cleanup

Index: launcher.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/launcher.cpp,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- launcher.cpp	12 Oct 2003 18:40:09 -0000	1.55
+++ launcher.cpp	16 Oct 2003 23:16:16 -0000	1.56
@@ -98,7 +98,7 @@
 
 	// Determine the description string
 	String description(ConfMan.get("description", domain));
-	if (description.isEmpty()) {
+	if (description.isEmpty() && target) {
 		description = target->description;
 	}
 
@@ -284,7 +284,7 @@
 	const PluginList &plugins = PluginManager::instance().getPlugins();
 	int p;
 	for (p = 0; p < plugins.size(); p++) {
-		const GameSettings *v = plugins[p]->getTargets();
+		const GameSettings *v = plugins[p]->getSupportedGames();
 		while (v->gameName && v->description) {
 	
 			// Determine the 'detectname' for this game, that is, the name of a 





More information about the Scummvm-git-logs mailing list