diff options
author | Max Horn | 2007-06-15 16:32:14 +0000 |
---|---|---|
committer | Max Horn | 2007-06-15 16:32:14 +0000 |
commit | a5c2c06a974032daa240756b567552c668fe9b90 (patch) | |
tree | 8753f73a476ef752969bc9fad36f85efa147b253 | |
parent | e6fe560ad19f2efcb0a573f93865277ffc26418f (diff) | |
download | scummvm-rg350-a5c2c06a974032daa240756b567552c668fe9b90.tar.gz scummvm-rg350-a5c2c06a974032daa240756b567552c668fe9b90.tar.bz2 scummvm-rg350-a5c2c06a974032daa240756b567552c668fe9b90.zip |
If we failed to compute any description for a game target, create a dummy description (this ensures that the entry is at least displayed)
svn-id: r27419
-rw-r--r-- | gui/launcher.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 95f9b1f4fb..705665dc2a 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -588,6 +588,8 @@ void LauncherDialog::updateListing() { 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 |