Another attempt to fix the bustage!!!
git-svn-id: svn://10.0.0.236/trunk@53409 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -768,7 +768,7 @@ void nsHTMLTokenizer::RecordTrailingContent(CStartToken* aStartToken, nsScanner&
|
||||
PRInt32 theOrigin =aStartToken->mOrigin;
|
||||
PRInt32 theCurrOffset =aScanner.GetOffset();
|
||||
PRInt32 theLength =(theCurrOffset>theOrigin)? theCurrOffset-theOrigin:-1;
|
||||
if(theLength>1) {
|
||||
if(theLength>0) {
|
||||
nsString& theRawXXX =aStartToken->mTrailingContent;
|
||||
const PRUnichar* theBuff =(aScanner.GetBuffer()).GetUnicode();
|
||||
theRawXXX.Append(&theBuff[theOrigin],theLength);
|
||||
|
||||
Reference in New Issue
Block a user