aboutsummaryrefslogtreecommitdiff
path: root/base/game.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2007-02-06 12:01:34 +0000
committerEugene Sandulenko2007-02-06 12:01:34 +0000
commit0a20af0323535627e493bee8387539e8814af864 (patch)
treeb9efdcbf7eb99fcde55c7eed3fc4d3bf4ee093bc /base/game.cpp
parentf477e964d279e4d7071294a5cbea1434c2d54556 (diff)
downloadscummvm-rg350-0a20af0323535627e493bee8387539e8814af864.tar.gz
scummvm-rg350-0a20af0323535627e493bee8387539e8814af864.tar.bz2
scummvm-rg350-0a20af0323535627e493bee8387539e8814af864.zip
Make extra information generated by launcher consistent with what we have
in our md5 list, preferred target and Wiki. svn-id: r25398
Diffstat (limited to 'base/game.cpp')
-rw-r--r--base/game.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/base/game.cpp b/base/game.cpp
index a20acaae95..5327f35a36 100644
--- a/base/game.cpp
+++ b/base/game.cpp
@@ -37,17 +37,17 @@ void GameDescriptor::updateDesc(const char *extra) {
Common::String descr = description();
descr += " (";
- if (hasCustomLanguage)
- descr += Common::getLanguageDescription(language());
+ if (hasExtraDesc)
+ descr += extra;
if (hasCustomPlatform) {
- if (hasCustomLanguage)
+ if (hasExtraDesc)
descr += "/";
descr += Common::getPlatformDescription(platform());
}
- if (hasExtraDesc) {
- if (hasCustomPlatform || hasCustomLanguage)
+ if (hasCustomLanguage) {
+ if (hasExtraDesc || hasCustomPlatform)
descr += "/";
- descr += extra;
+ descr += Common::getLanguageDescription(language());
}
descr += ")";
setVal("description", descr);