fixed API error

This commit is contained in:
rickg@netscape.com
1999-07-08 04:59:28 +00:00
parent 2eff8a305e
commit 4a430eb61c
2 changed files with 2 additions and 2 deletions

View File

@@ -557,7 +557,7 @@ nsresult CTextToken::ConsumeUntil(PRUnichar aChar,PRBool aIgnoreComments,nsScann
temp.Right(theRight,termStrLen+10); //first, get a wad of chars from the temp string
rpos=theRight.RFind('<'); //now scan for the '<'
if(-1<rpos)
rpos=theRight.RFind(aTerminalString,PR_TRUE,rpos);
rpos=theRight.RFind(aTerminalString,PR_TRUE);
done=PRBool(-1<rpos);
} //while
int len=temp.Length();