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

This commit is contained in:
jst%netscape.com 2000-12-14 06:16:39 +00:00
Родитель 4b89c22e9f
Коммит 1196cb233f
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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);
}

Просмотреть файл

@ -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);
}