From b90d829757ffe516f8853ddd462f64220cc46b07 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Sun, 9 Jul 2000 22:39:34 +0000 Subject: Fix a bug in previous commit that could cause infinite loops svn path=/trunk/; revision=4023 --- mail/message-list.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mail') diff --git a/mail/message-list.c b/mail/message-list.c index 563c2223c6..1b8303cd93 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -119,9 +119,7 @@ message_list_select_next (MessageList *message_list, int row, while (row < e_table_model_row_count (message_list->table_model)) { info = get_message_info (message_list, row); - if (!info) - continue; - if ((info->flags & mask) == flags) { + if (info && (info->flags & mask) == flags) { e_table_set_cursor_row (E_TABLE (message_list->etable), row); return; -- cgit v1.2.3