diff options
Diffstat (limited to 'gui')
-rw-r--r-- | gui/editgamedialog.cpp | 2 | ||||
-rw-r--r-- | gui/launcher.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gui/editgamedialog.cpp b/gui/editgamedialog.cpp index c2953dc8e5..6c553f8783 100644 --- a/gui/editgamedialog.cpp +++ b/gui/editgamedialog.cpp @@ -121,7 +121,7 @@ EditGameDialog::EditGameDialog(const String &domain) // GAME: Determine the description string String description(ConfMan.get("description", domain)); - if (description.empty() && qgd.description) { + if (description.empty() && !qgd.description.empty()) { description = qgd.description; } diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 94af6472a5..21937494c4 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -284,7 +284,7 @@ void LauncherDialog::updateListing() { if (description.empty()) { QualifiedGameDescriptor g = EngineMan.findTarget(iter->_key); - if (g.description) + if (!g.description.empty()) description = g.description; } |