diff options
| -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); |
