aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-quote.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-format-quote.c')
-rw-r--r--mail/em-format-quote.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/em-format-quote.c b/mail/em-format-quote.c
index a61c3f26f5..af8616a981 100644
--- a/mail/em-format-quote.c
+++ b/mail/em-format-quote.c
@@ -174,7 +174,7 @@ emfq_format_error(EMFormat *emf, CamelStream *stream, const gchar *txt)
static void
emfq_format_text_header (EMFormatQuote *emfq, CamelStream *stream, const gchar *label, const gchar *value, guint32 flags, gint is_html)
{
- const gchar *fmt, *html;
+ const gchar *html;
gchar *mhtml = NULL;
if (value == NULL)
@@ -189,11 +189,10 @@ emfq_format_text_header (EMFormatQuote *emfq, CamelStream *stream, const gchar *
html = value;
if (flags & EM_FORMAT_HEADER_BOLD)
- fmt = "<b>%s</b>: %s<br>";
+ camel_stream_printf (stream, "<b>%s</b>: %s<br>", label, html);
else
- fmt = "%s: %s<br>";
+ camel_stream_printf (stream, "%s: %s<br>", label, html);
- camel_stream_printf (stream, fmt, label, html);
g_free (mhtml);
}