switching to faster string APIs
git-svn-id: svn://10.0.0.236/trunk@40069 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -558,7 +558,7 @@ nsresult CTextToken::ConsumeUntil(PRUnichar aChar,PRBool aIgnoreComments,nsScann
|
||||
result=aScanner.ReadUntil(temp,theTerminals,PR_TRUE,PR_FALSE);
|
||||
}
|
||||
temp.Right(theRight,termStrLen+10); //first, get a wad of chars from the temp string
|
||||
rpos=theRight.RFind('<'); //now scan for the '<'
|
||||
rpos=theRight.RFindChar('<'); //now scan for the '<'
|
||||
if(-1<rpos)
|
||||
rpos=theRight.RFind(aTerminalString,PR_TRUE);
|
||||
done=PRBool(-1<rpos);
|
||||
|
||||
Reference in New Issue
Block a user