mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-01 05:43:46 +00:00
wrong initial boolean value for redraw
This commit is contained in:
parent
ab984cdd54
commit
e36da4f13c
@ -1844,7 +1844,7 @@ nsTextFrame::SetSelected(nsIDOMRange *aRange,PRBool aSelected, PRBool aSpread)
|
||||
nsCOMPtr<nsIDOMNode> thisNode;
|
||||
thisNode = do_QueryInterface(content);
|
||||
|
||||
PRBool found = PR_TRUE;
|
||||
PRBool found = PR_FALSE;
|
||||
if (thisNode == startNode){
|
||||
if ((mContentOffset + mContentLength) >= startOffset){
|
||||
found = PR_TRUE;
|
||||
|
@ -1844,7 +1844,7 @@ nsTextFrame::SetSelected(nsIDOMRange *aRange,PRBool aSelected, PRBool aSpread)
|
||||
nsCOMPtr<nsIDOMNode> thisNode;
|
||||
thisNode = do_QueryInterface(content);
|
||||
|
||||
PRBool found = PR_TRUE;
|
||||
PRBool found = PR_FALSE;
|
||||
if (thisNode == startNode){
|
||||
if ((mContentOffset + mContentLength) >= startOffset){
|
||||
found = PR_TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user