diff options
-rw-r--r-- | common/xmlparser.h | 2 |
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; |