bug 74587; author=simon@softel.co.il; r=attinasi; sr=erik; fix for a

crasher in IBMBIDI-ifdeffed code for bidi documents
This commit is contained in:
erik@netscape.com
2001-05-02 22:13:29 +00:00
parent 43529ef94d
commit c10f4af3af
2 changed files with 8 additions and 0 deletions

View File

@@ -842,6 +842,8 @@ nsLineIterator::FindFrameAt(PRInt32 aLineNumber,
while (--n >= 0) {
nsIFrame* nextFrame;
#ifdef IBMBIDI
if (!frame)
break;
if (isReordered) {
nscoord maxX, limX;
PRInt32 testLine;
@@ -895,6 +897,8 @@ nsLineIterator::FindFrameAt(PRInt32 aLineNumber,
while (--n >= 0) {
nsIFrame* nextFrame;
#ifdef IBMBIDI
if (!frame)
break;
if (isReordered) {
nsRect tempRect;
nsIFrame* tempFrame;