small changes to clients of string converting APIs

git-svn-id: svn://10.0.0.236/trunk@64159 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%netscape.com
2000-03-26 08:43:22 +00:00
parent 89936f90c1
commit 9f7baabe03
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 '>;
}