diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2004-08-04 23:20:57 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-08-04 23:20:57 +0800 |
commit | 865fc73a24c625a58fa55ac378c02e4855ec3125 (patch) | |
tree | 8c692434ab7aaae98c0ede0ed7cc50c3fe267e2b /mail/em-composer-utils.c | |
parent | 0b342f2c845e095e72d55c25180e55d5b8165102 (diff) | |
download | gsoc2013-evolution-865fc73a24c625a58fa55ac378c02e4855ec3125.tar.gz gsoc2013-evolution-865fc73a24c625a58fa55ac378c02e4855ec3125.tar.zst gsoc2013-evolution-865fc73a24c625a58fa55ac378c02e4855ec3125.zip |
If type="{Sender}" and name is an empty string, use the addr. Fixes bug
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
svn path=/trunk/; revision=26820
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r-- | mail/em-composer-utils.c | 2 |
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); |