diff options
author | Suman Manjunath <msuman@src.gnome.org> | 2008-08-04 11:27:01 +0800 |
---|---|---|
committer | Suman Manjunath <msuman@src.gnome.org> | 2008-08-04 11:27:01 +0800 |
commit | 6f78aa98cadc062f64d738554e7a791f07d8ca5f (patch) | |
tree | 84be3e50d3e5cb070c2ac9b84f59db805f81c256 /mail | |
parent | 921467b8b0b60c39c363b761d74ca8ca7f43c9b7 (diff) | |
download | gsoc2013-evolution-6f78aa98cadc062f64d738554e7a791f07d8ca5f.tar gsoc2013-evolution-6f78aa98cadc062f64d738554e7a791f07d8ca5f.tar.gz gsoc2013-evolution-6f78aa98cadc062f64d738554e7a791f07d8ca5f.tar.bz2 gsoc2013-evolution-6f78aa98cadc062f64d738554e7a791f07d8ca5f.tar.lz gsoc2013-evolution-6f78aa98cadc062f64d738554e7a791f07d8ca5f.tar.xz gsoc2013-evolution-6f78aa98cadc062f64d738554e7a791f07d8ca5f.tar.zst gsoc2013-evolution-6f78aa98cadc062f64d738554e7a791f07d8ca5f.zip |
Patch from Paul Bolle <pebolle@tiscali.nl>: Fixes bug #537088 (Message headers aren't displayed for some e-mails).
svn path=/trunk/; revision=35896
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/em-format-html.c | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 8a6219bfb3..87086beb98 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2008-08-04 Paul Bolle <pebolle@tiscali.nl> + + ** Fixes bug #537088 + + * em-format-html.c: (efh_format_headers): Break out of the loop rather + that return from this function when running into an empty From: or + Sender: header. + 2008-08-01 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #514006 diff --git a/mail/em-format-html.c b/mail/em-format-html.c index 1d094773dc..f2c0a102b8 100644 --- a/mail/em-format-html.c +++ b/mail/em-format-html.c @@ -1868,7 +1868,7 @@ efh_format_headers(EMFormatHTML *efh, CamelStream *stream, CamelMedium *part) GString *html; if (!(addrs = camel_header_address_decode (header->value, hdr_charset))) - return; + break; html = g_string_new(""); name = efh_format_address(efh, html, addrs, header->name); @@ -1883,7 +1883,7 @@ efh_format_headers(EMFormatHTML *efh, CamelStream *stream, CamelMedium *part) GString *html; if (!(addrs = camel_header_address_decode (header->value, hdr_charset))) - return; + break; html = g_string_new(""); name = efh_format_address(efh, html, addrs, header->name); |