aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/source/XML.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2014-08-22 16:58:23 +0200
committerjackpoz <giacomopoz@gmail.com>2014-08-22 21:00:56 +0200
commit5e8277e923c5545a15bae7c740ab6afaa597a59f (patch)
tree4cf5212c080588a7e868ee60134fc7fff51e400a /dep/g3dlite/source/XML.cpp
parenta63aa858dcb400eafb97eed1f590e34c27d934a4 (diff)
Core/Dependencies: Update G3D to v9.0 r4036
Diffstat (limited to 'dep/g3dlite/source/XML.cpp')
-rw-r--r--dep/g3dlite/source/XML.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dep/g3dlite/source/XML.cpp b/dep/g3dlite/source/XML.cpp
index 51f1a549ba0..f347548b2db 100644
--- a/dep/g3dlite/source/XML.cpp
+++ b/dep/g3dlite/source/XML.cpp
@@ -7,7 +7,7 @@
\created 2010-02-11
\edited 2010-02-24
- Copyright 2000-2010, Morgan McGuire.
+ Copyright 2000-2012, Morgan McGuire.
All rights reserved.
*/
@@ -68,7 +68,7 @@ void XML::serialize(TextOutput& t) const {
t.writeSymbol(m_value);
} else {
t.printf("<%s", m_name.c_str());
- for (AttributeTable::Iterator it = m_attribute.begin(); it.hasMore(); ++it) {
+ for (AttributeTable::Iterator it = m_attribute.begin(); it.isValid(); ++it) {
t.printf(" %s=\"%s\"", it->key.c_str(), it->value.m_value.c_str());
}
t.printf(">");