diff options
author | Max Horn | 2003-10-16 23:16:16 +0000 |
---|---|---|
committer | Max Horn | 2003-10-16 23:16:16 +0000 |
commit | 1e56fb8191784a8edbd8d32d831672ce0c0cff3a (patch) | |
tree | 64f3ad18e3a395776ee66b2adcb5aeab99b25e31 /gui/launcher.cpp | |
parent | 1c3301049a9916e744d95cd0f4fe5af441ba1851 (diff) | |
download | scummvm-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.cpp | 4 |
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 |