diff options
author | Milan Crha <mcrha@redhat.com> | 2012-08-07 15:29:21 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-08-07 15:29:21 +0800 |
commit | 8f145c216fd4e2fa19cde27b442f034cd574ac86 (patch) | |
tree | 34cd46ce366709a720b2c13aae8b20e5a37c013d | |
parent | 54bf0ce5b98af93b27d78f5790071aa60d745a9e (diff) | |
download | gsoc2013-evolution-8f145c216fd4e2fa19cde27b442f034cd574ac86.tar gsoc2013-evolution-8f145c216fd4e2fa19cde27b442f034cd574ac86.tar.gz gsoc2013-evolution-8f145c216fd4e2fa19cde27b442f034cd574ac86.tar.bz2 gsoc2013-evolution-8f145c216fd4e2fa19cde27b442f034cd574ac86.tar.lz gsoc2013-evolution-8f145c216fd4e2fa19cde27b442f034cd574ac86.tar.xz gsoc2013-evolution-8f145c216fd4e2fa19cde27b442f034cd574ac86.tar.zst gsoc2013-evolution-8f145c216fd4e2fa19cde27b442f034cd574ac86.zip |
Fix condition when to collapse addresses in To/Cc/Bcc headers
-rw-r--r-- | em-format/e-mail-formatter-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/em-format/e-mail-formatter-utils.c b/em-format/e-mail-formatter-utils.c index db97ee65f8..994b257600 100644 --- a/em-format/e-mail-formatter-utils.c +++ b/em-format/e-mail-formatter-utils.c @@ -174,7 +174,7 @@ e_mail_formatter_format_address (EMailFormatter *formatter, continue; /* Let us add a '...' if we have more addresses */ - if (limit > 0 && (i == limit - 1)) { + if (limit > 0 && i == limit && a != NULL) { const gchar *id = NULL; if (strcmp (field, _("To")) == 0) { |