fix for 67847 take 2: forgot to add in requested reviewer changes in previous checkin

This commit is contained in:
jfrancis%netscape.com 2001-06-12 22:27:53 +00:00
parent 0d75721df5
commit a783e94b5e
2 changed files with 2 additions and 2 deletions

View File

@ -1849,7 +1849,7 @@ nsHTMLEditRules::WillDeleteSelection(nsISelection *aSelection,
rightParent = endNode;
else
rightParent = mHTMLEditor->GetBlockNodeParent(endNode);
if (leftParent == rightParent) return NS_OK;
if (leftParent.get() == rightParent.get()) return NS_OK;
// deleting across blocks
// are the blocks of same type?

View File

@ -1849,7 +1849,7 @@ nsHTMLEditRules::WillDeleteSelection(nsISelection *aSelection,
rightParent = endNode;
else
rightParent = mHTMLEditor->GetBlockNodeParent(endNode);
if (leftParent == rightParent) return NS_OK;
if (leftParent.get() == rightParent.get()) return NS_OK;
// deleting across blocks
// are the blocks of same type?