diff options
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/em-composer-utils.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 7b2f40bee4..6ad3a0b481 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2004-08-03 Jeffrey Stedfast <fejj@novell.com> + + * em-composer-utils.c (format_sender): If type="{Sender}" and name + is an empty string, use the addr. Fixes bug #62377 + 2004-08-01 JP Rosevear <jpr@novell.com> * default/C/Inbox: Update to just call us "Evolution" and be more diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index 8e3ce70672..025b490472 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -1506,7 +1506,7 @@ format_sender (GString *str, const char *attr, CamelMimeMessage *message) g_string_append (str, name); } else if (addr && !strcmp (attr, "{SenderEMail}")) { g_string_append (str, addr); - } else if (name) { + } else if (name && *name) { g_string_append (str, name); } else if (addr) { g_string_append (str, addr); |