summaryrefslogtreecommitdiff
path: root/include/m_xml.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-28 15:23:46 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-28 15:23:46 +0300
commit2cb551c95b03612f9dd680504d30bc1d18ea31ac (patch)
treee24d0a6a9b799a75aefdee58b5b3d2369be8d461 /include/m_xml.h
parent457d7cc7cd21de3000e0a58e4a2e4c278f6032b8 (diff)
code cleaning / warning fixes
Diffstat (limited to 'include/m_xml.h')
-rw-r--r--include/m_xml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_xml.h b/include/m_xml.h
index 2403b20997..8047c3e205 100644
--- a/include/m_xml.h
+++ b/include/m_xml.h
@@ -178,7 +178,7 @@ public:
TiXmlFilter(const TiXmlNode *pNode, const char *pszNodeName) :
m_pszFilter(pszNodeName)
{
- m_pFirst = (pNode) ? pNode->FirstChildElement() : nullptr;
+ m_pFirst = (pNode) ? pNode->FirstChildElement(pszNodeName) : nullptr;
}
TiXmlFilterIterator begin()