Attempt to fix Tp regression from bug 333769. r+sr=roc

git-svn-id: svn://10.0.0.236/trunk@195164 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
uriber%gmail.com
2006-04-22 21:02:34 +00:00
parent 278a36f9e8
commit 65380d88f3

View File

@@ -6335,6 +6335,8 @@ nsTextFrame::ComputeWordFragmentDimensions(nsPresContext* aPresContext,
PRInt32 nextFrameStart, nextFrameEnd;
aNextFrame->GetOffsets(nextFrameStart, nextFrameEnd);
tx.Init(aNextFrame, aContent, nextFrameStart);
if (nextFrameEnd == 0) // uninitialized
nextFrameEnd = tx.GetContentLength();
PRBool isWhitespace, wasTransformed;
PRInt32 wordLen, contentLen;
nsTextDimensions dimensions;