summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-07-30 20:37:30 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-30 20:37:48 +0300
commit69704874b67c3cae63ee7d27634bbffa4cc4f6e2 (patch)
treef6a1d56199a3d0e5f2fcfb4e6670cb833c890ab3 /src/utils
parent003ce4b2567b85b5a129c78fcf75cd73c455d557 (diff)
downloadmanaplus-69704874b67c3cae63ee7d27634bbffa4cc4f6e2.tar.gz
manaplus-69704874b67c3cae63ee7d27634bbffa4cc4f6e2.tar.bz2
manaplus-69704874b67c3cae63ee7d27634bbffa4cc4f6e2.tar.xz
manaplus-69704874b67c3cae63ee7d27634bbffa4cc4f6e2.zip
Add support for include tag in badges.xml.
Also add patches and parts support for badges.xml
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/xmlutils.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/utils/xmlutils.cpp b/src/utils/xmlutils.cpp
index c437b0175..68ed3adb7 100644
--- a/src/utils/xmlutils.cpp
+++ b/src/utils/xmlutils.cpp
@@ -79,7 +79,6 @@ void readXmlStringMap(const std::string &fileName,
const std::string &attributeValueName,
std::map<std::string, std::string> &arr)
{
- arr.clear();
XML::Document doc(fileName, UseResman_true, SkipError_false);
const XmlNodePtrConst rootNode = doc.rootNode();