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