aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2009-10-11 16:00:16 +0000
committerTorbjörn Andersson2009-10-11 16:00:16 +0000
commit57ae40e52c7ac95a32e80ffa4cc3c4a0ed356ae9 (patch)
treeef5a91e0d81f5f75b4917cbe9bc209ca3530d6c4
parent1d3118cf4282dd15d188d07f99cb438348c6d803 (diff)
downloadscummvm-rg350-57ae40e52c7ac95a32e80ffa4cc3c4a0ed356ae9.tar.gz
scummvm-rg350-57ae40e52c7ac95a32e80ffa4cc3c4a0ed356ae9.tar.bz2
scummvm-rg350-57ae40e52c7ac95a32e80ffa4cc3c4a0ed356ae9.zip
Fixed a warning, ironically inside a warning().
svn-id: r44931
-rw-r--r--engines/sci/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp
index c4aad4e5f7..eb45685ba5 100644
--- a/engines/sci/detection.cpp
+++ b/engines/sci/detection.cpp
@@ -508,7 +508,7 @@ Common::Error SciEngine::loadGameState(int slot) {
shrink_execution_stack(_gamestate, _gamestate->execution_stack_base + 1);
return Common::kNoError;
} else {
- warning("Restoring gamestate '%s' failed.\n", fileName);
+ warning("Restoring gamestate '%s' failed.\n", fileName.c_str());
return Common::kUnknownError;
}
}