diff options
author | Stephen Kennedy | 2008-07-30 15:00:11 +0000 |
---|---|---|
committer | Stephen Kennedy | 2008-07-30 15:00:11 +0000 |
commit | 8345c1b687c1c5ee7a4d3f57dda53bf888d25576 (patch) | |
tree | d9fa3a3f324840b8cd4937c46ea6abc0095ac2b6 /common | |
parent | a4ac44875e6bdb9fd0a5f5e69d6fc8cff0bd461c (diff) | |
download | scummvm-rg350-8345c1b687c1c5ee7a4d3f57dda53bf888d25576.tar.gz scummvm-rg350-8345c1b687c1c5ee7a4d3f57dda53bf888d25576.tar.bz2 scummvm-rg350-8345c1b687c1c5ee7a4d3f57dda53bf888d25576.zip |
fix for new read-only File object
svn-id: r33451
Diffstat (limited to 'common')
-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; |