small changes to clients of string converting APIs

This commit is contained in:
scc@netscape.com
2000-03-26 08:43:22 +00:00
parent db1a2a1a1d
commit 3cf61b8a45
4 changed files with 8 additions and 8 deletions

View File

@@ -357,7 +357,7 @@ nsresult CEndToken::Consume(PRUnichar aChar, nsScanner& aScanner,PRInt32 aMode)
if(NS_OK==result){
nsAutoString buffer;
buffer.Assign(mTextValue, mTextValue.FindCharInSet(" \r\n\t\b",0));
mTextValue.Left(buffer, mTextValue.FindCharInSet(" \r\n\t\b",0));
mTypeID= nsHTMLTags::LookupTag(buffer);
result=aScanner.GetChar(aChar); //eat the closing '>;
}