summaryrefslogtreecommitdiff
path: root/src/xmlparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlparser.cc')
-rw-r--r--src/xmlparser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmlparser.cc b/src/xmlparser.cc
index 47e217c..257b661 100644
--- a/src/xmlparser.cc
+++ b/src/xmlparser.cc
@@ -4,7 +4,7 @@
* xmlparser.cc
*
* Wed Mar 21 09:15:51 CET 2012
- * Copyright 2012 Jonas Suhr Christensen
+ * Copyright 2012 Jonas Suhr Christensen
* jsc@umbraculum.org
****************************************************************************/
@@ -62,7 +62,7 @@ void XmlParser::startTag(std::string name, attributes_t &attr)
}
node = tree->createNode(id);
- tree->insertChild(parent, node);
+ tree->insertChild(parent, node, -1); // just append, the xml is ordered
}
if(name == "children")