Bug 295142 Crash when using option(ctrl)-left arrow at the end of RTL textarea [@nsFrame::PeekOffset]

r=roc sr=roc a=chofmann
This commit is contained in:
ginn.chen%sun.com 2005-06-06 02:22:53 +00:00
parent c779b4ab1e
commit f672ce6758

View File

@ -4103,11 +4103,11 @@ nsFrame::GetFrameFromDirection(nsPresContext* aPresContext, nsPeekOffsetStruct *
if (aPos->mDirection == eDirNext)
{
aPos->mPreferLeft = (PRBool)!(aPos->mPreferLeft);//drift to other side
#ifdef IBMBIDI
if (lineIsRTL)
aPos->mAmount = eSelectNoAmount;
#endif
}
#ifdef IBMBIDI
if (lineIsRTL)
aPos->mAmount = eSelectNoAmount;
#endif
}
}