From 4672dd71dd65019e47a69d130e6951d9908a0f05 Mon Sep 17 00:00:00 2001 From: Wang Xin Date: Mon, 2 Jul 2007 06:58:41 +0000 Subject: Fixes #450820. 2007-07-02 Wang Xin Fixes #450820. * em-format-quote.c: Add an empty new line at the beginning of the mail body when relpying a mail. svn path=/trunk/; revision=33738 --- mail/ChangeLog | 7 +++++++ mail/em-format-quote.c | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/mail/ChangeLog b/mail/ChangeLog index a6f8fa7049..894aa7addd 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2007-07-02 Wang Xin + + Fixes #450820. + + * em-format-quote.c: Add an empty new line at the beginning + of the mail body when relpying a mail. + 2007-06-25 Milan Crha ** Fix for bug #352947 diff --git a/mail/em-format-quote.c b/mail/em-format-quote.c index dc23976089..647a7783a5 100644 --- a/mail/em-format-quote.c +++ b/mail/em-format-quote.c @@ -133,6 +133,12 @@ em_format_quote_new(const char *credits, CamelStream *stream, guint32 flags) return emfq; } +static void +emfq_format_empty_line(EMFormat *emf, CamelStream *stream, CamelMimePart *part, const EMFormatHandler *info) +{ + camel_stream_printf(stream, "
\n"); +} + static void emfq_format_clone(EMFormat *emf, CamelFolder *folder, const char *uid, CamelMimeMessage *msg, EMFormat *src) { @@ -143,6 +149,7 @@ emfq_format_clone(EMFormat *emf, CamelFolder *folder, const char *uid, CamelMime camel_stream_reset(emfq->stream); + emfq_format_empty_line(emf, emfq->stream, (CamelMimePart *)msg, NULL); handle = em_format_find_handler(emf, "x-evolution/message/prefix"); if (handle) handle->handler(emf, emfq->stream, (CamelMimePart *)msg, handle); -- cgit v1.2.3