mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-29 11:57:55 +00:00
fixing linux
This commit is contained in:
parent
e46eacb369
commit
aba9473cdf
@ -482,7 +482,7 @@ nsRangeList::TakeFocus(nsIFocusTracker *aTracker, nsIFrame *aFrame, PRInt32 aOff
|
||||
if (domNode && NS_SUCCEEDED(aTracker->GetFocus(&frame, &anchor))){
|
||||
//traverse through document and unselect crap here
|
||||
if (!aContinueSelection){
|
||||
if (anchor && frame && anchor != frame && aFrame != frame){//selected across frames, must "deselect" frames between in correct order
|
||||
if (anchor && frame && anchor != frame ){//selected across frames, must "deselect" frames between in correct order
|
||||
PRInt32 compareResult = compareFrames(anchor,frame);
|
||||
if ( compareResult < 0 )
|
||||
selectFrames(anchor,0,frame,-1,PR_FALSE); //unselect all between
|
||||
|
Loading…
Reference in New Issue
Block a user