From 66418e42832459c472d8c77d02a04ca358c13208 Mon Sep 17 00:00:00 2001 From: Kari Salminen Date: Tue, 12 Feb 2008 15:31:09 +0000 Subject: Tiny fix to autodetected game's naming (Removes an extra space). svn-id: r30854 --- engines/agi/detection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3