[Scummvm-cvs-logs] SF.net SVN: scummvm:[33489] scummvm/branches/gsoc2008-gui/common/xmlparser. cpp

Tanoku at users.sourceforge.net Tanoku at users.sourceforge.net
Fri Aug 1 12:29:27 CEST 2008


Revision: 33489
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33489&view=rev
Author:   Tanoku
Date:     2008-08-01 10:29:27 +0000 (Fri, 01 Aug 2008)

Log Message:
-----------
Fixed compiler problem with anyProp var.

Modified Paths:
--------------
    scummvm/branches/gsoc2008-gui/common/xmlparser.cpp

Modified: scummvm/branches/gsoc2008-gui/common/xmlparser.cpp
===================================================================
--- scummvm/branches/gsoc2008-gui/common/xmlparser.cpp	2008-08-01 10:18:47 UTC (rev 33488)
+++ scummvm/branches/gsoc2008-gui/common/xmlparser.cpp	2008-08-01 10:29:27 UTC (rev 33489)
@@ -112,7 +112,7 @@
 			return parserError("Missing required property '%s' inside key '%s'", i->name.c_str(), key->name.c_str());
 	}
 	
-	if (key->layout.anyProps == false && localMap.empty() == false)
+	if (key->layout->anyProps == false && localMap.empty() == false)
 		return parserError("Unhandled property inside key '%s': '%s'", key->name.c_str(), localMap.begin()->_key.c_str());
 
 	// check if any of the parents must be ignored.


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