switching to faster string APIs

This commit is contained in:
rickg@netscape.com
1999-07-19 03:09:16 +00:00
parent bc14fcb2e8
commit da8cf67c82
8 changed files with 42 additions and 24 deletions
+1 -1
View File
@@ -452,7 +452,7 @@ eParseMode DetermineParseMode(nsParser& aParser) {
if(kNotFound<theIndex) {
//good, we found "DOCTYPE" -- now go find it's end delimiter '>'
PRInt32 theSubIndex=theBufCopy.Find(kGreaterThan,theIndex+1);
PRInt32 theSubIndex=theBufCopy.FindChar(kGreaterThan,theIndex+1);
theBufCopy.Truncate(theSubIndex);
theSubIndex=theBufCopy.Find("HTML 4.0");
if(kNotFound<theSubIndex) {