aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-10 06:39:34 +0800
committerDan Winship <danw@src.gnome.org>2000-07-10 06:39:34 +0800
commitb90d829757ffe516f8853ddd462f64220cc46b07 (patch)
treea1079b0c7a5fb5db7f04685652fcffc695e7cecb /mail/message-list.c
parent1c8cf4ad67acb6370cec56ff053013b61ea6c23c (diff)
downloadgsoc2013-evolution-b90d829757ffe516f8853ddd462f64220cc46b07.tar
gsoc2013-evolution-b90d829757ffe516f8853ddd462f64220cc46b07.tar.gz
gsoc2013-evolution-b90d829757ffe516f8853ddd462f64220cc46b07.tar.bz2
gsoc2013-evolution-b90d829757ffe516f8853ddd462f64220cc46b07.tar.lz
gsoc2013-evolution-b90d829757ffe516f8853ddd462f64220cc46b07.tar.xz
gsoc2013-evolution-b90d829757ffe516f8853ddd462f64220cc46b07.tar.zst
gsoc2013-evolution-b90d829757ffe516f8853ddd462f64220cc46b07.zip
Fix a bug in previous commit that could cause infinite loops
svn path=/trunk/; revision=4023
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c4
1 files changed, 1 insertions, 3 deletions
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;