diff --git a/stepmania/src/ThemeManager.cpp b/stepmania/src/ThemeManager.cpp index c055d47767..c339b29f8a 100644 --- a/stepmania/src/ThemeManager.cpp +++ b/stepmania/src/ThemeManager.cpp @@ -284,7 +284,7 @@ static void MergeIniUnder( XNode *pFrom, XNode *pTo ) FOREACHM( RString, XNodeValue *, pSectionNode->m_attrs, it2 ) { /* Don't overwrite existing nodes. */ - pChildNode->AppendAttr( it2->first, it2->second, false ); + pChildNode->AppendAttr( it2->first, new XNodeValue(*it2->second), false ); } }