diff options
author | Johannes Schickel | 2010-01-31 10:02:38 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-01-31 10:02:38 +0000 |
commit | 044ddf02a030ade948776d22a8edee62a4c060a5 (patch) | |
tree | c7454269e4a3fc7b70f315d880993eab9367d73b /engines/sci | |
parent | f59f03967bb5ec222c75f5d5ce12a864113d8b92 (diff) | |
download | scummvm-rg350-044ddf02a030ade948776d22a8edee62a4c060a5.tar.gz scummvm-rg350-044ddf02a030ade948776d22a8edee62a4c060a5.tar.bz2 scummvm-rg350-044ddf02a030ade948776d22a8edee62a4c060a5.zip |
Fix warning format arguments. (Passing a Common::String ins't that much of a good idea)
svn-id: r47743
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/detection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp index 3ffabba6fd..d44835c8c4 100644 --- a/engines/sci/detection.cpp +++ b/engines/sci/detection.cpp @@ -507,12 +507,12 @@ Common::Error SciEngine::saveGameState(int slot, const char *desc) { 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(); |