aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-quote.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-02-09 13:45:12 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-02-09 13:45:12 +0800
commit803f1baab087f0f17cbcd8f8c03eae9e4cd19528 (patch)
treed8a71659ab3b5c259535a0244afa5a569b932286 /mail/em-format-quote.c
parent1e69f13d5c6afb4c2b55c0b04d31147d8fcacc72 (diff)
downloadgsoc2013-evolution-803f1baab087f0f17cbcd8f8c03eae9e4cd19528.tar
gsoc2013-evolution-803f1baab087f0f17cbcd8f8c03eae9e4cd19528.tar.gz
gsoc2013-evolution-803f1baab087f0f17cbcd8f8c03eae9e4cd19528.tar.bz2
gsoc2013-evolution-803f1baab087f0f17cbcd8f8c03eae9e4cd19528.tar.lz
gsoc2013-evolution-803f1baab087f0f17cbcd8f8c03eae9e4cd19528.tar.xz
gsoc2013-evolution-803f1baab087f0f17cbcd8f8c03eae9e4cd19528.tar.zst
gsoc2013-evolution-803f1baab087f0f17cbcd8f8c03eae9e4cd19528.zip
just print the \n after the credits in the same printf, rather than adding
2004-02-09 Not Zed <NotZed@Ximian.com> * em-format-quote.c (emfq_format_message): just print the \n after the credits in the same printf, rather than adding an else. Add a <br> too, otherwise it has no effect. svn path=/trunk/; revision=24675
Diffstat (limited to 'mail/em-format-quote.c')
-rw-r--r--mail/em-format-quote.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/mail/em-format-quote.c b/mail/em-format-quote.c
index a58cf05583..3d242c0956 100644
--- a/mail/em-format-quote.c
+++ b/mail/em-format-quote.c
@@ -152,15 +152,13 @@ emfq_format_message(EMFormat *emf, CamelStream *stream, CamelMedium *part)
EMFormatQuote *emfq = (EMFormatQuote *) emf;
if (emfq->credits)
- camel_stream_printf(stream, "%s", emfq->credits);
+ camel_stream_printf(stream, "%s<br>\n", emfq->credits);
if (emfq->flags & EM_FORMAT_QUOTE_CITE)
camel_stream_printf(stream, "<!--+GtkHTML:<DATA class=\"ClueFlow\" key=\"orig\" value=\"1\">-->\n"
"<blockquote type=cite>\n"
"<font color=\"#%06x\">\n",
emfq->citation_colour & 0xffffff);
- else
- camel_stream_write (stream, "\n", 1);
if (emfq->flags & EM_FORMAT_QUOTE_HEADERS) {
camel_stream_printf(stream, "<b>To: </b> Header goes here<br>");
@@ -214,8 +212,8 @@ emfq_text_plain(EMFormatQuote *emfq, CamelStream *stream, CamelMimePart *part, E
/* Check for RFC 2646 flowed text. */
type = camel_mime_part_get_content_type(part);
- if (camel_content_type_is (type, "text", "plain")
- && (format = camel_content_type_param (type, "format"))
+ if (camel_content_type_is(type, "text", "plain")
+ && (format = camel_content_type_param(type, "format"))
&& !g_ascii_strcasecmp(format, "flowed"))
flags |= CAMEL_MIME_FILTER_TOHTML_FORMAT_FLOWED;