diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-08-10 19:40:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-08-10 19:40:46 +0800 |
commit | c1381b02bc61009814dbbbb842c34d094ed74add (patch) | |
tree | 27b5c29f3118ea27e504565f5720241b4318ca6b /mail/em-format-html.c | |
parent | 221c841d423c567f3bfb8b12ea039d7e932fdefa (diff) | |
download | gsoc2013-evolution-c1381b02bc61009814dbbbb842c34d094ed74add.tar.gz gsoc2013-evolution-c1381b02bc61009814dbbbb842c34d094ed74add.tar.zst gsoc2013-evolution-c1381b02bc61009814dbbbb842c34d094ed74add.zip |
EMFormat cleanups.
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r-- | mail/em-format-html.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c index a7e4c03ab5..5818ad2a35 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -181,7 +181,7 @@ efh_format_exec (struct _format_msg *m) /* <insert top-header stuff here> */ - if (format->mode == EM_FORMAT_SOURCE) { + if (format->mode == EM_FORMAT_MODE_SOURCE) { em_format_format_source ( format, (CamelStream *) m->estream, (CamelMimePart *) m->message); @@ -2659,7 +2659,7 @@ efh_format_headers(EMFormatHTML *efh, CamelStream *stream, CamelMedium *part) camel_stream_printf (stream, "<tr><td><table border=0 cellpadding=\"0\">\n"); /* dump selected headers */ - if (emf->mode == EM_FORMAT_ALLHEADERS) { + if (emf->mode == EM_FORMAT_MODE_ALLHEADERS) { header = ((CamelMimePart *)part)->headers; while (header) { efh_format_header(emf, stream, part, header, EM_FORMAT_HTML_HEADER_NOCOLUMNS, charset); |