[Scummvm-cvs-logs] SF.net SVN: scummvm:[33451] scummvm/branches/gsoc2008-vkeybd/common/ xmlparser.h

kenny-d at users.sourceforge.net kenny-d at users.sourceforge.net
Wed Jul 30 17:00:13 CEST 2008


Revision: 33451
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33451&view=rev
Author:   kenny-d
Date:     2008-07-30 15:00:11 +0000 (Wed, 30 Jul 2008)

Log Message:
-----------
fix for new read-only File object

Modified Paths:
--------------
    scummvm/branches/gsoc2008-vkeybd/common/xmlparser.h

Modified: scummvm/branches/gsoc2008-vkeybd/common/xmlparser.h
===================================================================
--- scummvm/branches/gsoc2008-vkeybd/common/xmlparser.h	2008-07-30 14:40:54 UTC (rev 33450)
+++ scummvm/branches/gsoc2008-vkeybd/common/xmlparser.h	2008-07-30 15:00:11 UTC (rev 33451)
@@ -128,7 +128,7 @@
 	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;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list