use FOREACH_Attr

This commit is contained in:
Glenn Maynard
2007-02-11 00:44:57 +00:00
parent 5772a41b92
commit 96caf97851
+1 -1
View File
@@ -749,7 +749,7 @@ void XmlFileUtil::MergeIniUnder( XNode *pFrom, XNode *pTo )
} }
else else
{ {
FOREACHM( RString, XNodeValue *, pSectionNode->m_attrs, it2 ) FOREACH_Attr( pSectionNode, it2 )
{ {
/* Don't overwrite existing nodes. */ /* Don't overwrite existing nodes. */
pChildNode->AppendAttrFrom( it2->first, it2->second->Copy(), false ); pChildNode->AppendAttrFrom( it2->first, it2->second->Copy(), false );