From 43ef719142fe37dc8aa8c9ae32d8f44002036aaf Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Tue, 25 Jul 2000 19:14:03 +0000 Subject: Fix crash on NULL current_message when replying. svn path=/trunk/; revision=4319 --- mail/mail-ops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mail/mail-ops.c') diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 5fa1f0953b..9602d8dcd6 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -635,7 +635,8 @@ reply (FolderBrowser *fb, gboolean to_all) EMsgComposer *composer; struct post_send_data *psd; - if (!check_configured () || !fb->message_list->cursor_uid) + if (!check_configured () || !fb->message_list->cursor_uid || + !fb->mail_display->current_message) return; psd = g_new (struct post_send_data, 1); -- cgit