aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r--mail/em-composer-utils.c2
1 files changed, 1 insertions, 1 deletions
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);