[Scummvm-cvs-logs] SF.net SVN: scummvm: [32906] scummvm/branches/gsoc2008-gui/common/xmlparser .h
sk4425 at users.sourceforge.net
sk4425 at users.sourceforge.net
Fri Jul 4 13:56:31 CEST 2008
Revision: 32906
http://scummvm.svn.sourceforge.net/scummvm/?rev=32906&view=rev
Author: sk4425
Date: 2008-07-04 04:56:31 -0700 (Fri, 04 Jul 2008)
Log Message:
-----------
- XMLParser - small improvement to allow "key=value" syntax as well as "key = value" syntax
Modified Paths:
--------------
scummvm/branches/gsoc2008-gui/common/xmlparser.h
Modified: scummvm/branches/gsoc2008-gui/common/xmlparser.h
===================================================================
--- scummvm/branches/gsoc2008-gui/common/xmlparser.h 2008-07-04 11:38:15 UTC (rev 32905)
+++ scummvm/branches/gsoc2008-gui/common/xmlparser.h 2008-07-04 11:56:31 UTC (rev 32906)
@@ -283,7 +283,7 @@
while (isValidNameChar(_text[_pos]))
_token += _text[_pos++];
- return isspace(_text[_pos]) != 0 || _text[_pos] == '>';
+ return isspace(_text[_pos]) != 0 || _text[_pos] == '>' || _text[_pos] == '=';
}
/**
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