[Scummvm-cvs-logs] SF.net SVN: scummvm:[47743] scummvm/trunk/engines/sci/detection.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sun Jan 31 11:02:38 CET 2010
Revision: 47743
http://scummvm.svn.sourceforge.net/scummvm/?rev=47743&view=rev
Author: lordhoto
Date: 2010-01-31 10:02:38 +0000 (Sun, 31 Jan 2010)
Log Message:
-----------
Fix warning format arguments. (Passing a Common::String ins't that much of a good idea)
Modified Paths:
--------------
scummvm/trunk/engines/sci/detection.cpp
Modified: scummvm/trunk/engines/sci/detection.cpp
===================================================================
--- scummvm/trunk/engines/sci/detection.cpp 2010-01-31 08:28:10 UTC (rev 47742)
+++ scummvm/trunk/engines/sci/detection.cpp 2010-01-31 10:02:38 UTC (rev 47743)
@@ -507,12 +507,12 @@
Common::OutSaveFile *out = saveFileMan->openForSaving(fileName);
const char *version = "";
if (!out) {
- warning("Opening savegame \"%s\" for writing failed", fileName);
+ warning("Opening savegame \"%s\" for writing failed", fileName.c_str());
return Common::kWritingFailed;
}
if (gamestate_save(_gamestate, out, desc, version)) {
- warning("Saving the game state to '%s' failed", fileName);
+ warning("Saving the game state to '%s' failed", fileName.c_str());
return Common::kWritingFailed;
} else {
out->finalize();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list