aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 3a56ee030e..adc71fc72d 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -427,6 +427,8 @@ filter_mlist (GtkWidget *w, FolderBrowser *fb)
char *header_value;
const char *header_name;
+ g_return_if_fail (fb->mail_display->current_message != NULL);
+
name = mail_mlist_magic_detect_list (fb->mail_display->current_message, &header_name, &header_value);
if (name == NULL)
return;