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/iphone/osys_iphone.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'backends/platform/iphone')

diff --git a/backends/platform/iphone/osys_iphone.cpp b/backends/platform/iphone/osys_iphone.cpp
index 48e95074e0..226626d551 100644
--- a/backends/platform/iphone/osys_iphone.cpp
+++ b/backends/platform/iphone/osys_iphone.cpp
@@ -1314,12 +1314,12 @@ OSystem *OSystem_IPHONE_create() {
 
 Common::SeekableReadStream *OSystem_IPHONE::createConfigReadStream() {
 	Common::FSNode file(SCUMMVM_PREFS_PATH);
-	return file.openForReading();
+	return file.createReadStream();
 }
 
 Common::WriteStream *OSystem_IPHONE::createConfigWriteStream() {
 	Common::FSNode file(SCUMMVM_PREFS_PATH);
-	return file.openForWriting();
+	return file.createWriteStream();
 }
 
 void iphone_main(int argc, char *argv[]) {
-- 
cgit v1.2.3