diff options
author | Milan Crha <mcrha@redhat.com> | 2009-06-05 20:48:29 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-06-05 20:50:42 +0800 |
commit | 84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7 (patch) | |
tree | c6cb7ea33f0ef3424cc060d4d1b79287f8dd0a10 /mail/em-format-quote.c | |
parent | a979826a00beebd29850445ff2a27187946fade1 (diff) | |
download | gsoc2013-evolution-84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7.tar gsoc2013-evolution-84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7.tar.gz gsoc2013-evolution-84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7.tar.bz2 gsoc2013-evolution-84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7.tar.lz gsoc2013-evolution-84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7.tar.xz gsoc2013-evolution-84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7.tar.zst gsoc2013-evolution-84c55f4e983c4458a08f9bd19fe63b3fd7af2fa7.zip |
Fix even more compiler warnings and disable one for format strings
Diffstat (limited to 'mail/em-format-quote.c')
-rw-r--r-- | mail/em-format-quote.c | 7 |
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); } |