projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e12591
)
fix bug 3886, '"About to send mail to 2 recipients" warning when one of them is Reply-To'
author
Paul
<paul@claws-mail.org>
Thu, 31 Aug 2017 09:13:28 +0000
(10:13 +0100)
committer
Paul
<paul@claws-mail.org>
Thu, 31 Aug 2017 09:13:28 +0000
(10:13 +0100)
src/compose.c
patch
|
blob
|
history
diff --git
a/src/compose.c
b/src/compose.c
index 69c5a0f614d5221a06d84a1694dc4c0d405cd453..81747bb5359ddca42b1df2d71ebffc86c6213417 100644
(file)
--- 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);
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);
cnt++;
}
g_free(header);