diff options
-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) { |