From 66bb6ad5444be948afe729ef20098f3c258a4aa1 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 5 Oct 2006 00:10:18 +0000 Subject: [PATCH] fix copy --- stepmania/src/ThemeManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } }