diff options
author | Eugene Sandulenko | 2007-02-06 12:01:34 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-02-06 12:01:34 +0000 |
commit | 0a20af0323535627e493bee8387539e8814af864 (patch) | |
tree | b9efdcbf7eb99fcde55c7eed3fc4d3bf4ee093bc /base | |
parent | f477e964d279e4d7071294a5cbea1434c2d54556 (diff) | |
download | scummvm-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')
-rw-r--r-- | base/game.cpp | 12 |
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); |