diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/m_xml.h | 2 |
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()
|