diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-12 18:39:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-12 18:39:00 +0300 |
commit | 351821c1f18f9285be58df0a05339936311f6490 (patch) | |
tree | 47a60cad4f61f63c5ac2faf98dcae24760d7fe11 /src/configuration.cpp | |
parent | e50632a83a3c679cffd372656277a304d5d853f8 (diff) | |
download | manaplus-351821c1f18f9285be58df0a05339936311f6490.tar.gz manaplus-351821c1f18f9285be58df0a05339936311f6490.tar.bz2 manaplus-351821c1f18f9285be58df0a05339936311f6490.tar.xz manaplus-351821c1f18f9285be58df0a05339936311f6490.zip |
first part of style fixed after cpplint checks.
Diffstat (limited to 'src/configuration.cpp')
-rw-r--r-- | src/configuration.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/configuration.cpp b/src/configuration.cpp index d43cca15e..c65c68695 100644 --- a/src/configuration.cpp +++ b/src/configuration.cpp @@ -656,11 +656,10 @@ void ConfigurationObject::initFromXML(const XmlNodePtr parent_node) && subnode->type == XML_ELEMENT_NODE) { ConfigurationObject *const cobj = new ConfigurationObject; - cobj->initFromXML(subnode); // recurse + cobj->initFromXML(subnode); // recurse mContainerOptions[name].push_back(cobj); } } - } else if (xmlNameEqual(node, "option")) { @@ -672,7 +671,7 @@ void ConfigurationObject::initFromXML(const XmlNodePtr parent_node) mOptions[name] = XML::getProperty(node, "value", std::string()); } - } // otherwise ignore + } // otherwise ignore } } |