aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/xmlparser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/xmlparser.h b/common/xmlparser.h
index 4c77696482..399525d161 100644
--- a/common/xmlparser.h
+++ b/common/xmlparser.h
@@ -128,7 +128,7 @@ public:
virtual bool loadFile(Common::String filename) {
Common::File *f = new Common::File;
- if (!f->open(filename, Common::File::kFileReadMode))
+ if (!f->open(filename))
return false;
_fileName = filename;