diff options
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index 710c520e55..436dddf508 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -1407,8 +1407,8 @@ ml_tree_value_at (ETreeModel *etm, ETreePath path, int col, void *model_data) case COL_MIXED_SENDER: case COL_SENDER:{ char **sender_name = NULL; - str = camel_message_info_from (msg_info); - if(str!=""){ + str = camel_message_info_from (msg_info); + if(str && str[0] != '\0'){ sender_name=g_strsplit(str,"<",2); return (void *)(*sender_name); } |