From 7e2c873b8db2f0e21ba4c7cb8d1d679b50a2959f Mon Sep 17 00:00:00 2001 From: Suman Manjunath Date: Sat, 21 Jun 2008 17:35:34 +0000 Subject: Patch from Paul Bolle : Fix for bug #538741 (Strip preceding tabs from Date headers too) svn path=/trunk/; revision=35671 --- mail/ChangeLog | 7 +++++++ mail/em-format-html.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'mail') 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 + + ** Fix for bug #538741 + + * em-format-html.c: (efh_format_header): + Strip preceding tabs from Date headers too. + 2008-06-21 Matthew Barnes ** 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 */ -- cgit v1.2.3