aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r--mail/em-format-html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 467d84c0e6..dc656d56f1 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -950,7 +950,7 @@ efh_message_external(EMFormatHTML *efh, CamelStream *stream, CamelMimePart *part
else
path = g_strdup_printf("/%s", *name=='/'?name+1:name);
- if (mode && &mode)
+ if (mode && *mode)
sprintf(ftype, ";type=%c", *mode);
else
ftype[0] = 0;