aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-format.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r--mail/mail-format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c
index 7bd1a84a8a..cfe68fb559 100644
--- a/mail/mail-format.c
+++ b/mail/mail-format.c
@@ -875,7 +875,7 @@ write_headers (CamelMimeMessage *message, MailDisplay *md)
{ "Date", NULL }
};
int i, len, flags;
- gboolean full = GPOINTER_TO_INT (g_datalist_get_data (md->data, "full_headers"));
+ gboolean full = (md->display_style == MAIL_CONFIG_DISPLAY_FULL_HEADERS);
mail_html_write (md->html, md->stream,
"<table width=\"100%%\" cellpadding=0 cellspacing=0>"