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
This commit is contained in:
Max Horn 2009-05-19 11:42:14 +00:00
parent 4d59f620f9
commit 65b5d31814
26 changed files with 68 additions and 76 deletions

View file

@ -197,7 +197,7 @@ Common::WriteStream *KyraEngine_v1::openSaveForWriting(const char *filename, con
else
out->writeUint32BE(GF_FLOPPY);
if (out->ioFailed()) {
if (out->err()) {
warning("Can't write file '%s'. (Disk full?)", filename);
delete out;
return 0;