[Commits] [SCM] claws branch, master, updated. 3.15.0-131-g9f24157

claws at claws-mail.org claws at claws-mail.org
Thu Aug 31 11:13:34 CEST 2017


The branch, master has been updated
       via  9f24157d84365cfffeeff862898135e8894899a7 (commit)
      from  3e12591d2933ed3d8e68199172dc595eceeda5b9 (commit)

Summary of changes:
 src/compose.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit 9f24157d84365cfffeeff862898135e8894899a7
Author: Paul <paul at claws-mail.org>
Date:   Thu Aug 31 10:13:28 2017 +0100

    fix bug 3886, '"About to send mail to 2 recipients" warning when one of them is Reply-To'

diff --git a/src/compose.c b/src/compose.c
index 69c5a0f..81747bb 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -5193,9 +5193,9 @@ static gboolean compose_check_entries(Compose *compose, gboolean check_everythin
 			entry = gtk_editable_get_chars(GTK_EDITABLE(((ComposeHeaderEntry *)list->data)->entry), 0, -1);
 			g_strstrip(header);
 			g_strstrip(entry);
-			if ((entry[0] != '\0')
-			&&	(strcmp(header, prefs_common_translated_header_name("To:"))
-			||  strcmp(header, prefs_common_translated_header_name("Cc:")))) {
+			if ((entry[0] != '\0') &&
+			    (!strcmp(header, prefs_common_translated_header_name("To:")) ||
+			     !strcmp(header, prefs_common_translated_header_name("Cc:")))) {
 				cnt++;
 			}
 			g_free(header);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list