summaryrefslogtreecommitdiff
path: root/src/xmlparser.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-06-08 18:24:49 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-06-08 19:39:31 +0200
commit75d85549c6d2a5284593e20c21d61fc5d6200bca (patch)
treeb5077e272f238b47af9530f9b2fac2e69839d063 /src/xmlparser.cc
parent195bf2f6a7d7268a88338ae8fd3a30fdb5196300 (diff)
Add 'insert before id' to create and move commands.
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")