wrong initial boolean value for redraw

This commit is contained in:
mjudge%netscape.com 1999-05-17 22:31:10 +00:00
parent ab984cdd54
commit e36da4f13c
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;