parse fix

This commit is contained in:
Glenn Maynard
2005-09-06 23:39:45 +00:00
parent 59f9941445
commit f30533431d
+1 -1
View File
@@ -215,7 +215,7 @@ unsigned XNode::Load( const CString &xml, PARSEINFO *pi, unsigned iOffset )
iOffset += 4; iOffset += 4;
/* Find the close tag. */ /* Find the close tag. */
unsigned iEnd = xml.find( "-->" ); unsigned iEnd = xml.find( "-->", iOffset );
if( iEnd == string.npos ) if( iEnd == string.npos )
{ {
if( !pi->error_occur ) if( !pi->error_occur )