diff options
author | Max Horn | 2009-05-19 11:42:14 +0000 |
---|---|---|
committer | Max Horn | 2009-05-19 11:42:14 +0000 |
commit | 65b5d318140c7ff846455a37ec7ae63e635bcdcf (patch) | |
tree | 77f278ceec1e54e097056df0b2820e414eed8290 /backends | |
parent | 4d59f620f9fdc1dfd7ccd6c7d30a0b5de480eb20 (diff) | |
download | scummvm-rg350-65b5d318140c7ff846455a37ec7ae63e635bcdcf.tar.gz scummvm-rg350-65b5d318140c7ff846455a37ec7ae63e635bcdcf.tar.bz2 scummvm-rg350-65b5d318140c7ff846455a37ec7ae63e635bcdcf.zip |
COMMON: Removed Stream::ioFailed() and clearIOFailed(), as they are deprecated; however, retained ioFailed in SeekableReadStream and File for now (so for now this mainly affects WriteStream subclasses)
svn-id: r40725
Diffstat (limited to 'backends')
-rw-r--r-- | backends/saves/savefile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/saves/savefile.cpp b/backends/saves/savefile.cpp index 98a3d6b449..29d477a6c1 100644 --- a/backends/saves/savefile.cpp +++ b/backends/saves/savefile.cpp @@ -50,14 +50,14 @@ bool SaveFileManager::renameSavefile(const char *oldFilename, const char *newFil if (buffer && outFile) { inFile->read(buffer, size); - bool error = inFile->ioFailed(); + bool error = inFile->err(); delete inFile; inFile = 0; if (!error) { outFile->write(buffer, size); outFile->finalize(); - if (!outFile->ioFailed()) { + if (!outFile->err()) { success = removeSavefile(oldFilename); } } |