Bugzilla Bug 106839 amTargettedCorrectly should be isTargetedCorrectly

r=bbaetz,glazou sr=brendan


git-svn-id: svn://10.0.0.236/trunk@106350 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mac.com
2001-10-26 10:54:15 +00:00
parent cf412012ae
commit f65d10305d
2 changed files with 6 additions and 6 deletions

View File

@@ -1047,11 +1047,11 @@ NS_IMETHODIMP nsHTMLEditor::CanDrag(nsIDOMEvent *aDragEvent, PRBool *aCanDrag)
nsCOMPtr<nsIDOMNode> eventTargetDomNode = do_QueryInterface(eventTarget);
if ( eventTargetDomNode )
{
PRBool amTargettedCorrectly = PR_FALSE;
res = selection->ContainsNode(eventTargetDomNode, PR_FALSE, &amTargettedCorrectly);
PRBool isTargetedCorrectly = PR_FALSE;
res = selection->ContainsNode(eventTargetDomNode, PR_FALSE, &isTargetedCorrectly);
if (NS_FAILED(res)) return res;
*aCanDrag = amTargettedCorrectly;
*aCanDrag = isTargetedCorrectly;
}
}