parse fix
This commit is contained in:
@@ -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 )
|
||||||
|
|||||||
Reference in New Issue
Block a user