summaryrefslogtreecommitdiff
path: root/src/configuration.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-18 17:17:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-18 17:17:59 +0300
commitb257d71a41b0662db3b954e44ba9bfca2fb6c6cc (patch)
tree7d4f6b5a62e036da845fbd2fcfc4c02384faaaba /src/configuration.cpp
parent65411e9bb86d97e33dce3f445f66faca178e35d2 (diff)
downloadmanaplus-b257d71a41b0662db3b954e44ba9bfca2fb6c6cc.tar.gz
manaplus-b257d71a41b0662db3b954e44ba9bfca2fb6c6cc.tar.bz2
manaplus-b257d71a41b0662db3b954e44ba9bfca2fb6c6cc.tar.xz
manaplus-b257d71a41b0662db3b954e44ba9bfca2fb6c6cc.zip
Add macro XmlTextWriterEndElement.
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r--src/configuration.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp
index cbe392f45..fcc6bfbdf 100644
--- a/src/configuration.cpp
+++ b/src/configuration.cpp
@@ -800,7 +800,7 @@ void ConfigurationObject::writeToXML(const XmlTextWriterPtr writer)
XmlTextWriterStartElement(writer, "option");
XmlTextWriterWriteAttribute(writer, "name", i->first.c_str());
XmlTextWriterWriteAttribute(writer, "value", i->second.c_str());
- xmlTextWriterEndElement(writer);
+ XmlTextWriterEndElement(writer);
}
for (std::map<std::string, ConfigurationList>::const_iterator
@@ -818,10 +818,10 @@ void ConfigurationObject::writeToXML(const XmlTextWriterPtr writer)
XmlTextWriterStartElement(writer, name);
if (*elt_it)
(*elt_it)->writeToXML(writer);
- xmlTextWriterEndElement(writer);
+ XmlTextWriterEndElement(writer);
}
- xmlTextWriterEndElement(writer);
+ XmlTextWriterEndElement(writer);
}
}