mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 09:18:38 +00:00
SCI: Don't end warning() format strings with a newline or a period (a newline and an exclamation mark are automatically added)
svn-id: r45049
This commit is contained in:
parent
2ae08e8478
commit
429c9eb814
@ -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.c_str());
|
||||
warning("Restoring gamestate '%s' failed", fileName.c_str());
|
||||
return Common::kUnknownError;
|
||||
}
|
||||
}
|
||||
@ -521,12 +521,12 @@ Common::Error SciEngine::saveGameState(int slot, const char *desc) {
|
||||
Common::OutSaveFile *out = saveFileMan->openForSaving(fileName);
|
||||
const char *version = "";
|
||||
if (!out) {
|
||||
warning("Error opening savegame \"%s\" for writing\n", fileName);
|
||||
warning("Opening savegame \"%s\" for writing failed", fileName);
|
||||
return Common::kWritingFailed;
|
||||
}
|
||||
|
||||
if (gamestate_save(_gamestate, out, desc, version)) {
|
||||
warning("Saving the game state to '%s' failed\n", fileName);
|
||||
warning("Saving the game state to '%s' failed", fileName);
|
||||
return Common::kUnknownError;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user