mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 09:01:16 +00:00
fix for bug 18528. fixing tabs controls in selection guessing.
This commit is contained in:
parent
6a1ffaeb57
commit
b3444d6801
@ -2036,7 +2036,7 @@ nsTextFrame::GetPosition(nsIPresContext* aCX,
|
||||
//reusing wordBufMem
|
||||
PRInt32 i;
|
||||
for (i = 0;i <= mContentLength; i ++){
|
||||
if (ip[i] == aContentOffset){ //reverse mapping
|
||||
if (ip[i] >= aContentOffset){ //reverse mapping
|
||||
aContentOffset = i + mContentOffset;
|
||||
break;
|
||||
}
|
||||
|
@ -2036,7 +2036,7 @@ nsTextFrame::GetPosition(nsIPresContext* aCX,
|
||||
//reusing wordBufMem
|
||||
PRInt32 i;
|
||||
for (i = 0;i <= mContentLength; i ++){
|
||||
if (ip[i] == aContentOffset){ //reverse mapping
|
||||
if (ip[i] >= aContentOffset){ //reverse mapping
|
||||
aContentOffset = i + mContentOffset;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user