mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
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:
parent
c779b4ab1e
commit
f672ce6758
@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user