aboutsummaryrefslogtreecommitdiff
path: root/gui/launcher.cpp
diff options
context:
space:
mode:
authorMax Horn2003-10-16 23:16:16 +0000
committerMax Horn2003-10-16 23:16:16 +0000
commit1e56fb8191784a8edbd8d32d831672ce0c0cff3a (patch)
tree64f3ad18e3a395776ee66b2adcb5aeab99b25e31 /gui/launcher.cpp
parent1c3301049a9916e744d95cd0f4fe5af441ba1851 (diff)
downloadscummvm-rg350-1e56fb8191784a8edbd8d32d831672ce0c0cff3a.tar.gz
scummvm-rg350-1e56fb8191784a8edbd8d32d831672ce0c0cff3a.tar.bz2
scummvm-rg350-1e56fb8191784a8edbd8d32d831672ce0c0cff3a.zip
cleanup
svn-id: r10839
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r--gui/launcher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index a3a4d62ca7..322a7fd839 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -98,7 +98,7 @@ EditGameDialog::EditGameDialog(NewGui *gui, const String &domain, const GameSett
// Determine the description string
String description(ConfMan.get("description", domain));
- if (description.isEmpty()) {
+ if (description.isEmpty() && target) {
description = target->description;
}
@@ -284,7 +284,7 @@ GameList findGame(FilesystemNode *dir) {
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