aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2008-06-22 01:35:34 +0800
committerSuman Manjunath <msuman@src.gnome.org>2008-06-22 01:35:34 +0800
commit7e2c873b8db2f0e21ba4c7cb8d1d679b50a2959f (patch)
tree07c3fe048a484b48d93c9e8d5b5047b8647cf7e2 /mail
parent77f71cf54a87b9197c8b4986efd7886a50f2f457 (diff)
downloadgsoc2013-evolution-7e2c873b8db2f0e21ba4c7cb8d1d679b50a2959f.tar.gz
gsoc2013-evolution-7e2c873b8db2f0e21ba4c7cb8d1d679b50a2959f.tar.zst
gsoc2013-evolution-7e2c873b8db2f0e21ba4c7cb8d1d679b50a2959f.zip
Patch from Paul Bolle <pebolle@tiscali.nl>: Fix for bug #538741 (Strip preceding tabs from Date headers too)
svn path=/trunk/; revision=35671
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-format-html.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 6ec6a9d234..9b90e02e67 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2008-06-21 Paul Bolle <pebolle@tiscali.nl>
+
+ ** Fix for bug #538741
+
+ * em-format-html.c: (efh_format_header):
+ Strip preceding tabs from Date headers too.
+
2008-06-21 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #537725
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 8b3e788140..5c76c5e861 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -1750,7 +1750,7 @@ efh_format_header(EMFormat *emf, CamelStream *stream, CamelMedium *part, struct
struct tm local;
txt = header->value;
- while (*txt == ' ')
+ while (*txt == ' ' || *txt == '\t')
txt++;
/* Show the local timezone equivalent in brackets if the sender is remote */