Make extra information generated by launcher consistent with what we have

in our md5 list, preferred target and Wiki.

svn-id: r25398
This commit is contained in:
Eugene Sandulenko 2007-02-06 12:01:34 +00:00
parent f477e964d2
commit 0a20af0323

View File

@ -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);