aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorKari Salminen2008-02-12 15:31:09 +0000
committerKari Salminen2008-02-12 15:31:09 +0000
commit66418e42832459c472d8c77d02a04ca358c13208 (patch)
treea8a17aa32ef6e784ff8ded92ea5b25222dd89e06 /engines/agi
parent98f8e93102d4d69283da31ca955e14c314ee72d1 (diff)
downloadscummvm-rg350-66418e42832459c472d8c77d02a04ca358c13208.tar.gz
scummvm-rg350-66418e42832459c472d8c77d02a04ca358c13208.tar.bz2
scummvm-rg350-66418e42832459c472d8c77d02a04ca358c13208.zip
Tiny fix to autodetected game's naming (Removes an extra space).
svn-id: r30854
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp
index a56c547c28..b1b6c92912 100644
--- a/engines/agi/detection.cpp
+++ b/engines/agi/detection.cpp
@@ -2225,7 +2225,7 @@ Common::EncapsulatedADGameDesc fallbackDetector(const FSList *fslist) {
// Check if we found a match with any of the fallback methods
Common::EncapsulatedADGameDesc result;
if (matchedUsingWag || matchedUsingFilenames) {
- extra = description + " " + extra; // Let's combine the description and extra
+ extra = description + (!extra.empty() ? " " : "") + extra; // Let's combine the description and extra
result = Common::EncapsulatedADGameDesc((const Common::ADGameDescription *)&g_fallbackDesc, gameid, extra);
printf("Your game version has been detected using fallback matching as a\n");