[pan2] quickfix for line-wrapped x-face header
- From: Heinrich MÃller <henmull src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2] quickfix for line-wrapped x-face header
- Date: Fri, 28 Dec 2012 11:58:51 +0000 (UTC)
commit 9e301fbd22dee500fa53b57b15609778a904fca4
Author: Heinrich MÃller <henmull src gnome org>
Date: Fri Dec 28 12:58:39 2012 +0100
quickfix for line-wrapped x-face header
pan/gui/post-ui.cc | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/pan/gui/post-ui.cc b/pan/gui/post-ui.cc
index 2b10b89..e47c1ed 100644
--- a/pan/gui/post-ui.cc
+++ b/pan/gui/post-ui.cc
@@ -1603,7 +1603,11 @@ PostUI :: new_message_from_ui (Mode mode, bool copy_body)
// headers from posting profile(via prefs): X-Face
if (!profile.xface.empty())
- g_mime_object_set_header ((GMimeObject *) msg, "X-Face", profile.xface.c_str());
+ {
+ std::string f;
+ f += " " + profile.xface;
+ g_mime_object_set_header ((GMimeObject *) msg, "X-Face", f.c_str());
+ }
// add the 'hidden headers'
foreach_const (str2str_t, _hidden_headers, it)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]