aboutsummaryrefslogtreecommitdiff
path: root/common/xmlparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/xmlparser.cpp')
-rw-r--r--common/xmlparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/xmlparser.cpp b/common/xmlparser.cpp
index 91cd6aa458..10085d3b8e 100644
--- a/common/xmlparser.cpp
+++ b/common/xmlparser.cpp
@@ -40,7 +40,7 @@ bool XMLParser::loadFile(const Common::String &filename) {
}
bool XMLParser::loadFile(const FSNode &node) {
- _stream = node.openForReading();
+ _stream = node.createReadStream();
if (!_stream)
return false;