aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/source/XML.cpp
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2014-08-23 16:41:54 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2014-08-23 16:41:54 +0200
commit4a29c73403c4dc713a8a31cb96289adff2b910c1 (patch)
treede0c6b191031bac7fb2764edb2a81382a331f81c /dep/g3dlite/source/XML.cpp
parentb90329d63acaecb1f074dd2b303561baa9f639a2 (diff)
parent1255434882777053bca06656786abc1a598deda9 (diff)
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
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(">");