diff options
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index edb919ad4f..0ebf492872 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -103,6 +103,9 @@ get_message_info(MessageList *message_list, gint row) node = e_tree_model_node_at_row (model, row); row = GPOINTER_TO_INT (e_tree_model_node_get_data (model, node)); + if (row == -1) + return NULL; + info = message_list->summary_table->pdata[row]; } |