aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-01-15 09:22:55 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-01-15 09:22:55 +0800
commite70e3982edf25a75bd93bdaf9205cca1167a3d4c (patch)
tree7cc7d3dd98430d0d38b7f9bc384efe2d805bc4d7 /mail/em-format-html.c
parent88eda22854051bec83e2082726b670ba23c7d188 (diff)
downloadgsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.tar
gsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.tar.gz
gsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.tar.bz2
gsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.tar.lz
gsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.tar.xz
gsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.tar.zst
gsoc2013-evolution-e70e3982edf25a75bd93bdaf9205cca1167a3d4c.zip
** See bugs #51609 and #43515.
2004-01-15 Not Zed <NotZed@Ximian.com> ** See bugs #51609 and #43515. * em-format-html-display.c (efhd_format_prefix): output flag for followup details above the message. (efhd_write_image): added to output icon data. * em-format-html.c (efh_format_do): call format_prefix before outputting the message in normal display mode. * em-format.c (emf_format_prefix): method called to format data before the first message output. Default impl == noop. svn path=/trunk/; revision=24230
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r--mail/em-format-html.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 96239fb925..44afe282d8 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -1194,10 +1194,12 @@ static void efh_format_do(struct _mail_msg *mm)
/* <insert top-header stuff here> */
- if (((EMFormat *)m->format)->mode == EM_FORMAT_SOURCE)
+ if (((EMFormat *)m->format)->mode == EM_FORMAT_SOURCE) {
em_format_format_source((EMFormat *)m->format, (CamelStream *)m->estream, (CamelMimePart *)m->message);
- else
+ } else {
+ em_format_format_prefix((EMFormat *)m->format, (CamelStream *)m->estream);
em_format_format_message((EMFormat *)m->format, (CamelStream *)m->estream, (CamelMedium *)m->message);
+ }
camel_stream_write_string((CamelStream *)m->estream, "</body>\n</html>\n");
camel_stream_close((CamelStream *)m->estream);