From 8f16458e9ba830fe80f177cc2fc3bcf2af84ebef Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 23 Jan 2009 03:41:36 +0000 Subject: Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear svn-id: r36014 --- backends/platform/sdl/sdl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/platform/sdl') diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp index c852ba206d..13ad284060 100644 --- a/backends/platform/sdl/sdl.cpp +++ b/backends/platform/sdl/sdl.cpp @@ -386,12 +386,12 @@ static Common::String getDefaultConfigFileName() { Common::SeekableReadStream *OSystem_SDL::createConfigReadStream() { Common::FSNode file(getDefaultConfigFileName()); - return file.openForReading(); + return file.createReadStream(); } Common::WriteStream *OSystem_SDL::createConfigWriteStream() { Common::FSNode file(getDefaultConfigFileName()); - return file.openForWriting(); + return file.createWriteStream(); } void OSystem_SDL::setWindowCaption(const char *caption) { -- cgit v1.2.3