fixed nsbeta3+PDT[n] bugs: 48351, 49278, 50070, 52478. Partial fix (WIP) for 49678 and 52725. R=attinasi, buster, syd. A=buster
This commit is contained in:
@@ -639,7 +639,8 @@ nsresult CTextToken::ConsumeUntil(PRUnichar aChar,PRBool aIgnoreComments,nsScann
|
||||
theTermStrPos=kNotFound;
|
||||
tempOffset=theBuffer.FindChar(kGreaterThan,PR_TRUE,tempOffset);
|
||||
if(tempOffset>-1) {
|
||||
theTermStrPos=theBuffer.RFind(aTerminalString,PR_TRUE,tempOffset,termStrLen+2);
|
||||
//theTermStrPos=theBuffer.RFind(aTerminalString,PR_TRUE,tempOffset,termStrLen+2);
|
||||
theTermStrPos=theBuffer.RFind(aTerminalString,PR_TRUE,tempOffset,tempOffset-(theCurrOffset-2)); //bug43513...
|
||||
if(theTermStrPos>-1) break;
|
||||
tempOffset++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user