From 65b5d318140c7ff846455a37ec7ae63e635bcdcf Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 19 May 2009 11:42:14 +0000 Subject: 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 --- graphics/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/font.cpp') diff --git a/graphics/font.cpp b/graphics/font.cpp index f896b3c94e..1c958f3c3c 100644 --- a/graphics/font.cpp +++ b/graphics/font.cpp @@ -649,7 +649,7 @@ bool NewFont::cacheFontData(const NewFont &font, const Common::String &filename) cacheFile.writeByte(0); } - return !cacheFile.ioFailed(); + return !cacheFile.err(); } NewFont *NewFont::loadFromCache(Common::SeekableReadStream &stream) { -- cgit v1.2.3