diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-01-22 11:46:57 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-01-22 11:46:57 +0800 |
commit | 18e2b2ebc530d125c0a4f814c13494c62396b729 (patch) | |
tree | c30bd3051890a226a6cfd7812b532e9ad8fe4cb7 /camel/camel-mime-utils.c | |
parent | 4404cde3fc7f27f9dc348d388a4cad22af302ea0 (diff) | |
download | gsoc2013-evolution-18e2b2ebc530d125c0a4f814c13494c62396b729.tar.gz gsoc2013-evolution-18e2b2ebc530d125c0a4f814c13494c62396b729.tar.zst gsoc2013-evolution-18e2b2ebc530d125c0a4f814c13494c62396b729.zip |
Make the output a little prettier. Okay, so I'm anal...
2001-01-21 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_param_list_format_append): Make the
output a little prettier. Okay, so I'm anal...
svn path=/trunk/; revision=7692
Diffstat (limited to 'camel/camel-mime-utils.c')
-rw-r--r-- | camel/camel-mime-utils.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index 04fd6c119b..b7a14992d8 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -2345,11 +2345,12 @@ header_param_list_format_append(GString *out, struct _header_param *p) while (p) { int here = out->len; if (len+strlen(p->name)+strlen(p->value)>60) { - out = g_string_append(out, "\n\t"); + out = g_string_append(out, ";\n\t"); len = 0; - } - - g_string_sprintfa(out, "; %s=", p->name); + } else + out = g_string_append (out, "; "); + + g_string_sprintfa(out, "%s=", p->name); for (ch = p->value; *ch; ch++) { if (is_tspecial(*ch)) |