diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/message-list.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 8ba42c5252..441d3f617a 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-07-07 Christopher James Lahey <clahey@helixcode.com> + + * message-list.c (get_message_info): Handle a row number of -1 + properly. + 2000-07-06 Dan Winship <danw@helixcode.com> * message-list.c (get_message_info): Map tree model row numbers to 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]; } |