Backing out my last change here, this change didn't do what it was supposed to do, not even close.

git-svn-id: svn://10.0.0.236/trunk@83622 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%netscape.com 2000-12-14 06:16:39 +00:00
parent e4f3243171
commit 7e93050721
2 changed files with 2 additions and 2 deletions

View File

@ -1228,7 +1228,7 @@ nsXMLContentSink::AddDocTypeDecl(const nsIParserNode& aNode, PRInt32 aMode)
nsAutoString docTypeStr(aNode.GetText());
nsAutoString str, name, publicId, systemId;
if (docTypeStr.EqualsWithConversion("<!DOCTYPE", PR_FALSE, 10)) {
if (docTypeStr.EqualsWithConversion("<!DOCTYPE", PR_FALSE, 9)) {
docTypeStr.Right(str, docTypeStr.Length()-9);
}

View File

@ -1228,7 +1228,7 @@ nsXMLContentSink::AddDocTypeDecl(const nsIParserNode& aNode, PRInt32 aMode)
nsAutoString docTypeStr(aNode.GetText());
nsAutoString str, name, publicId, systemId;
if (docTypeStr.EqualsWithConversion("<!DOCTYPE", PR_FALSE, 10)) {
if (docTypeStr.EqualsWithConversion("<!DOCTYPE", PR_FALSE, 9)) {
docTypeStr.Right(str, docTypeStr.Length()-9);
}