From 2c4ae5e7685c462f8d464448e4617b8dea029e72 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 9 Nov 2012 22:40:00 -0500 Subject: Coding style and whitespace cleanup. --- em-format/e-mail-formatter-utils.c | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) (limited to 'em-format/e-mail-formatter-utils.c') diff --git a/em-format/e-mail-formatter-utils.c b/em-format/e-mail-formatter-utils.c index 883d985510..7c01f323bb 100644 --- a/em-format/e-mail-formatter-utils.c +++ b/em-format/e-mail-formatter-utils.c @@ -58,7 +58,8 @@ e_mail_formatter_format_text_header (EMailFormatter *formatter, value++; if (!(flags & E_MAIL_FORMATTER_HEADER_FLAG_HTML)) - html = mhtml = camel_text_to_html (value, + html = mhtml = camel_text_to_html ( + value, e_mail_formatter_get_text_format_flags (formatter), 0); else html = value; @@ -90,7 +91,8 @@ e_mail_formatter_format_text_header (EMailFormatter *formatter, } } - g_string_append_printf (buffer, fmt, + g_string_append_printf ( + buffer, fmt, (flags & E_MAIL_FORMATTER_HEADER_FLAG_HIDDEN ? "none" : "table-row"), label, html); g_free (mhtml); @@ -186,12 +188,13 @@ e_mail_formatter_format_address (EMailFormatter *formatter, } if (id) { - g_string_append_printf (out, + g_string_append_printf ( + out, "", id); + "style=\"display: none;\">", id); str = g_strdup_printf ( "", + "id=\"__evo-moreaddr-img-%s\" class=\"navigable\">", EVOLUTION_IMAGESDIR, id); } } @@ -209,7 +212,8 @@ e_mail_formatter_format_address (EMailFormatter *formatter, } if (id) { - g_string_append_printf (out, + g_string_append_printf ( + out, "" "newsgroup); else - g_string_append_printf (html, "%s", + g_string_append_printf ( + html, "%s", scan->newsgroup, scan->newsgroup); scan = scan->next; if (scan) -- cgit v1.2.3