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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user