summaryrefslogtreecommitdiffstats
path: root/hdrline.c
diff options
context:
space:
mode:
authorRocco Rutte <pdmef@gmx.net>2009-04-08 16:25:38 +0200
committerRocco Rutte <pdmef@gmx.net>2009-04-08 16:25:38 +0200
commit3747bd5b075e155b72874619d5532a565e7fc93b (patch)
treebeabe425e9d402f1d77513f4a58cd442250035c8 /hdrline.c
parent292d39da3df53ce13128dfb5809e526a05f7aaa0 (diff)
For %F, display Bcc recipient if no other recipients found. Closes #3157.
Diffstat (limited to 'hdrline.c')
-rw-r--r--hdrline.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hdrline.c b/hdrline.c
index fe45096d..21adc282 100644
--- a/hdrline.c
+++ b/hdrline.c
@@ -121,6 +121,8 @@ static void make_from (ENVELOPE *hdr, char *buf, size_t len, int do_lists)
snprintf (buf, len, "To %s", mutt_get_name (hdr->to));
else if (me && hdr->cc)
snprintf (buf, len, "Cc %s", mutt_get_name (hdr->cc));
+ else if (me && hdr->bcc)
+ snprintf (buf, len, "Bcc %s", mutt_get_name (hdr->bcc));
else if (hdr->from)
strfcpy (buf, mutt_get_name (hdr->from), len);
else