From eaf717d2d79ef7abcb131d69c5404581438225a1 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 17 Apr 2007 20:40:35 +0000 Subject: [PATCH] entity fix in attributes --- stepmania/src/XmlFileUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/XmlFileUtil.cpp b/stepmania/src/XmlFileUtil.cpp index edf2c146f0..cf4db72e8c 100644 --- a/stepmania/src/XmlFileUtil.cpp +++ b/stepmania/src/XmlFileUtil.cpp @@ -184,9 +184,9 @@ unsigned LoadAttributes( XNode *pNode, const RString &xml, RString &sErrorOut, u RString sValue; SetString( xml, iOffset, iEnd, &sValue, true ); + ReplaceEntityText( sValue, g_mapEntitiesToChars ); pAttr->SetValue( sValue ); iOffset = iEnd; - ReplaceEntityText( sValue, g_mapEntitiesToChars ); if( quote == '"' || quote == '\'' ) ++iOffset;