aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-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 2b64913992..7584780978 100644
--- a/engines/agi/detection.cpp
+++ b/engines/agi/detection.cpp
@@ -2080,7 +2080,7 @@ Common::EncapsulatedADGameDesc fallbackDetector(const FSList *fslist) {
// Use the current directory for searching if fslist == NULL
if (fslist == NULL) {
- Common::String path = ConfMan.get("path").c_str();
+ Common::String path = ConfMan.get("path");
if (path.empty())
path = ".";