From f30533431d089c4e1fd3c7167bdb245828d2b7d2 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 6 Sep 2005 23:39:45 +0000 Subject: [PATCH] parse fix --- stepmania/src/XmlFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/XmlFile.cpp b/stepmania/src/XmlFile.cpp index 7436934bf1..d8292ce01d 100644 --- a/stepmania/src/XmlFile.cpp +++ b/stepmania/src/XmlFile.cpp @@ -215,7 +215,7 @@ unsigned XNode::Load( const CString &xml, PARSEINFO *pi, unsigned iOffset ) iOffset += 4; /* Find the close tag. */ - unsigned iEnd = xml.find( "-->" ); + unsigned iEnd = xml.find( "-->", iOffset ); if( iEnd == string.npos ) { if( !pi->error_occur )