Bustage fix follow-up to bug 969358. a=bustage-fix
authorMark Banner <bugzilla@standard8.plus.com>
Wed, 05 Mar 2014 15:19:44 +0000
changeset 16090 50a3490ab365cc5344f43f7d59b220ab4144dbab
parent 16089 5d0f4ea39b13631d367d1427bf593c950e3c9a44
child 16091 290d7629194add69294a15c87fe79b6d9fe33546
push id48
push usermbanner@mozilla.com
push dateThu, 13 Mar 2014 13:32:05 +0000
reviewersbustage-fix
bugs969358
Bustage fix follow-up to bug 969358. a=bustage-fix
mailnews/compose/src/nsMsgCompose.cpp
--- a/mailnews/compose/src/nsMsgCompose.cpp
+++ b/mailnews/compose/src/nsMsgCompose.cpp
@@ -2610,17 +2610,17 @@ NS_IMETHODIMP QuotingOutputStreamListene
               nsCOMPtr<nsIMsgIdentity> lookupIdentity2;
               rv = identities->QueryElementAt(j, NS_GET_IID(nsIMsgIdentity),
                                               getter_AddRefs(lookupIdentity2));
               if (NS_FAILED(rv))
                 continue;
 
               nsCString curIdentityEmail2;
               lookupIdentity2->GetEmail(curIdentityEmail2);
-              if (toEmailAddresses.Find(curIdentityEmail2) != kNotFound))
+              if (toEmailAddresses.Find(curIdentityEmail2) != kNotFound)
               {
                 // An identity among the recipients -> not reply-to-self.
                 // However, "From:me To:me" should be treated as
                 // reply-to-self if we have a Bcc. If we don't have a Bcc we
                 // might have the case of a generated mail of the style
                 // "From:me To:me Reply-To:customer". Then we need to to do a
                 // normal reply to the customer.
                 isReplyToSelf = !bcc.IsEmpty(); // true if bcc is set