From 943c07d50a733f7f0303b739f82d774f538cd92f Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 11 May 2001 16:44:44 +0000 Subject: If the cursor_uid is NULL, then we can't forward anything so just return. 2001-05-11 Jeffrey Stedfast * mail-callbacks.c (forward_inlined): If the cursor_uid is NULL, then we can't forward anything so just return. (forward_quoted): Same. svn path=/trunk/; revision=9759 --- mail/ChangeLog | 6 ++++++ mail/mail-callbacks.c | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 28380155e2..e606d0d0e5 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2001-05-11 Jeffrey Stedfast + + * mail-callbacks.c (forward_inlined): If the cursor_uid is NULL, + then we can't forward anything so just return. + (forward_quoted): Same. + 2001-05-10 Jon Trowbridge * folder-browser.c (folder_browser_config_search): Use the diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 0f60037da5..377cea95d0 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -818,6 +818,9 @@ forward_inlined (GtkWidget *widget, gpointer user_data) FolderBrowser *fb = FOLDER_BROWSER (user_data); GPtrArray *uids; + if (!fb->message_list->cursor_uid) + return; + if (!check_send_configuration (fb)) return; @@ -834,6 +837,9 @@ forward_quoted (GtkWidget *widget, gpointer user_data) FolderBrowser *fb = FOLDER_BROWSER (user_data); GPtrArray *uids; + if (!fb->message_list->cursor_uid) + return; + if (!check_send_configuration (fb)) return; -- cgit