aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-formatter-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-07-12 20:02:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-08-20 02:17:55 +0800
commitc85109fc322137596bf34cffc5445d568223c60d (patch)
tree711e6d5b2eb3d6c7780d1d01e20d980c67a77f9e /em-format/e-mail-formatter-utils.c
parent7d1751cc26a75166019917ec8c3b35e1083d27d6 (diff)
downloadgsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.gz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.bz2
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.lz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.xz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.zst
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'em-format/e-mail-formatter-utils.c')
-rw-r--r--em-format/e-mail-formatter-utils.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/em-format/e-mail-formatter-utils.c b/em-format/e-mail-formatter-utils.c
index 994b257600..883d985510 100644
--- a/em-format/e-mail-formatter-utils.c
+++ b/em-format/e-mail-formatter-utils.c
@@ -130,7 +130,7 @@ e_mail_formatter_format_address (EMailFormatter *formatter,
/* rfc2368 for mailto syntax and url encoding extras */
if ((real = camel_header_encode_phrase ((guchar *) a->name))) {
- mailaddr = g_strdup_printf("%s <%s>", real, a->v.addr);
+ mailaddr = g_strdup_printf ("%s <%s>", real, a->v.addr);
g_free (real);
mailto = camel_url_encode (mailaddr, "?=&()");
g_free (mailaddr);
@@ -288,7 +288,7 @@ e_mail_formatter_format_header (EMailFormatter *formatter,
g_free (buf);
- html = g_string_new("");
+ html = g_string_new ("");
img = e_mail_formatter_format_address (formatter, html, addrs, (gchar *) label,
(flags & E_MAIL_FORMATTER_HEADER_FLAG_NOLINKS),
!(flags & E_MAIL_FORMATTER_HEADER_FLAG_NOELIPSIZE));
@@ -311,7 +311,7 @@ e_mail_formatter_format_header (EMailFormatter *formatter,
g_free (buf);
flags |= E_MAIL_FORMATTER_HEADER_FLAG_BOLD;
- } else if (!strcmp(name, "X-evolution-mailer")) {
+ } else if (!strcmp (name, "X-evolution-mailer")) {
/* pseudo-header */
label = _("Mailer");
txt = value = camel_header_format_ctext (header->value, charset);
@@ -363,7 +363,7 @@ e_mail_formatter_format_header (EMailFormatter *formatter,
}
flags |= E_MAIL_FORMATTER_HEADER_FLAG_HTML |
E_MAIL_FORMATTER_HEADER_FLAG_BOLD;
- } else if (!strcmp(name, "Newsgroups")) {
+ } else if (!strcmp (name, "Newsgroups")) {
struct _camel_header_newsgroup *ng, *scan;
GString *html;
@@ -376,17 +376,17 @@ e_mail_formatter_format_header (EMailFormatter *formatter,
g_free (buf);
- html = g_string_new("");
+ html = g_string_new ("");
scan = ng;
while (scan) {
if (flags & E_MAIL_FORMATTER_HEADER_FLAG_NOLINKS)
g_string_append_printf (html, "%s", scan->newsgroup);
else
- g_string_append_printf(html, "<a href=\"news:%s\">%s</a>",
+ g_string_append_printf (html, "<a href=\"news:%s\">%s</a>",
scan->newsgroup, scan->newsgroup);
scan = scan->next;
if (scan)
- g_string_append_printf(html, ", ");
+ g_string_append_printf (html, ", ");
}
camel_header_newsgroups_free (ng);