aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-05-23 02:00:17 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-05-23 02:00:17 +0800
commitf7550c81c76341c09378b42a05485c0f1da72441 (patch)
treeebce84fb5f923bf5c594935f69d5311e4fe10603 /mail/em-format-html.c
parente99e12428d46db3be2878f6c2ca63bd7510149f4 (diff)
downloadgsoc2013-evolution-f7550c81c76341c09378b42a05485c0f1da72441.tar
gsoc2013-evolution-f7550c81c76341c09378b42a05485c0f1da72441.tar.gz
gsoc2013-evolution-f7550c81c76341c09378b42a05485c0f1da72441.tar.bz2
gsoc2013-evolution-f7550c81c76341c09378b42a05485c0f1da72441.tar.lz
gsoc2013-evolution-f7550c81c76341c09378b42a05485c0f1da72441.tar.xz
gsoc2013-evolution-f7550c81c76341c09378b42a05485c0f1da72441.tar.zst
gsoc2013-evolution-f7550c81c76341c09378b42a05485c0f1da72441.zip
** Fix a bunch of compiler warnings.
2008-05-22 Matthew Barnes <mbarnes@redhat.com> ** Fix a bunch of compiler warnings. * calendar/gui/e-select-names-renderer.c (e_select_names_renderer_focus_out_event): Remove this function. Looks like it hasn't been used in years. * mail/em-format-html.c (efh_message_external): Fix a typo in checking for an empty 'mode' string. * mail/message-list.c (subtree_size): Remove this function. Looks like it hasn't been used in years. * plugins/email-custom-header/email-custom-header.c (action_email_custom_header_cb): Remove unused 'editor' variable. * plugins/save-calendar/csv-format.c (do_save_calendar_csv): * plugins/save-calendar/rdf-format.c (do_save_calendar_rdf): Remove pointless address check of a local variable. svn path=/trunk/; revision=35527
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;