aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-07-08 11:44:24 +0800
committerChris Lahey <clahey@src.gnome.org>2001-07-08 11:44:24 +0800
commitb6214e68c3734e04ca6a4e36939750ecaf3a39e9 (patch)
tree8f962a00b71baf92bd0f10f823b7afc5b77ad858 /mail/message-list.c
parent23bb03e9939cc86b68b546570edc7884d7a1b051 (diff)
downloadgsoc2013-evolution-b6214e68c3734e04ca6a4e36939750ecaf3a39e9.tar
gsoc2013-evolution-b6214e68c3734e04ca6a4e36939750ecaf3a39e9.tar.gz
gsoc2013-evolution-b6214e68c3734e04ca6a4e36939750ecaf3a39e9.tar.bz2
gsoc2013-evolution-b6214e68c3734e04ca6a4e36939750ecaf3a39e9.tar.lz
gsoc2013-evolution-b6214e68c3734e04ca6a4e36939750ecaf3a39e9.tar.xz
gsoc2013-evolution-b6214e68c3734e04ca6a4e36939750ecaf3a39e9.tar.zst
gsoc2013-evolution-b6214e68c3734e04ca6a4e36939750ecaf3a39e9.zip
Check for new_uid != NULL here before strcmping.
2001-07-07 Christopher James Lahey <clahey@ximian.com> * message-list.c (on_cursor_activated_cmd): Check for new_uid != NULL here before strcmping. svn path=/trunk/; revision=10889
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 583524821d..92db0ff66f 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1971,7 +1971,7 @@ on_cursor_activated_cmd (ETree *tree, int row, ETreePath path, gpointer user_dat
else
new_uid = get_message_uid(message_list, path);
- if (message_list->cursor_uid != NULL && !strcmp (message_list->cursor_uid, new_uid))
+ if (message_list->cursor_uid != NULL && new_uid != NULL && !strcmp (message_list->cursor_uid, new_uid))
return;
message_list->cursor_row = row;