From f65d10305d07e2eb726b5a5ed87f24f1589a33fe Mon Sep 17 00:00:00 2001 From: "timeless%mac.com" Date: Fri, 26 Oct 2001 10:54:15 +0000 Subject: [PATCH] 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 --- mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp | 6 +++--- mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp b/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp index 37949c89e9b..3087da0f0f7 100644 --- a/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp @@ -1047,11 +1047,11 @@ NS_IMETHODIMP nsHTMLEditor::CanDrag(nsIDOMEvent *aDragEvent, PRBool *aCanDrag) nsCOMPtr 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; } } diff --git a/mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp b/mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp index 1864205cf01..0df4d52c19a 100644 --- a/mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp +++ b/mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp @@ -410,11 +410,11 @@ NS_IMETHODIMP nsPlaintextEditor::CanDrag(nsIDOMEvent *aDragEvent, PRBool *aCanDr nsCOMPtr 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; } }