aboutsummaryrefslogtreecommitdiff
path: root/libsylph/procheader.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-03-27 08:19:53 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-03-27 08:19:53 +0000
commit1ad1a3e1721e99e8b2c055328e98297dc06dd907 (patch)
treee7646b8e4a458715d7e0b1a5a105ae9b532d0d09 /libsylph/procheader.c
parent505ab32fedc5de7984c2a4d1095d60dd292e0fd5 (diff)
fixed a bug that bold face was disabled with GLib 2.10 and Pango 1.12.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1058 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/procheader.c')
-rw-r--r--libsylph/procheader.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libsylph/procheader.c b/libsylph/procheader.c
index cf9d481e..84c5f36d 100644
--- a/libsylph/procheader.c
+++ b/libsylph/procheader.c
@@ -687,19 +687,23 @@ MsgInfo *procheader_parse_stream(FILE *fp, MsgFlags flags, gboolean full)
if (from) {
msginfo->from = conv_unmime_header(from, charset);
+ subst_control(msginfo->from, ' ');
msginfo->fromname = procheader_get_fromname(msginfo->from);
g_free(from);
}
if (to) {
msginfo->to = conv_unmime_header(to, charset);
+ subst_control(msginfo->to, ' ');
g_free(to);
}
if (subject) {
msginfo->subject = conv_unmime_header(subject, charset);
+ subst_control(msginfo->subject, ' ');
g_free(subject);
}
if (cc) {
msginfo->cc = conv_unmime_header(cc, charset);
+ subst_control(msginfo->cc, ' ');
g_free(cc);
}