[Scummvm-cvs-logs] SF.net SVN: scummvm: [27419] scummvm/trunk/gui/launcher.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Fri Jun 15 18:35:15 CEST 2007
Revision: 27419
http://scummvm.svn.sourceforge.net/scummvm/?rev=27419&view=rev
Author: fingolfin
Date: 2007-06-15 09:32:14 -0700 (Fri, 15 Jun 2007)
Log Message:
-----------
If we failed to compute any description for a game target, create a dummy description (this ensures that the entry is at least displayed)
Modified Paths:
--------------
scummvm/trunk/gui/launcher.cpp
Modified: scummvm/trunk/gui/launcher.cpp
===================================================================
--- scummvm/trunk/gui/launcher.cpp 2007-06-15 16:26:14 UTC (rev 27418)
+++ scummvm/trunk/gui/launcher.cpp 2007-06-15 16:32:14 UTC (rev 27419)
@@ -588,6 +588,8 @@
if (g.contains("description"))
description = g.description();
}
+ if (description.empty())
+ description = "Unknown (target " + iter->_key + ", gameid " + gameid + ")";
if (!gameid.empty() && !description.empty()) {
// Insert the game into the launcher list
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