Re: [evolution-patches] x-mailer display fix



yea, looks fine.

Jeff

On Tue, 2003-04-29 at 12:13, Dan Winship wrote:
> I've had this in my tree for a while. It fixes the display of the
> X-Mailer/User-Agent header (if you have that turned on) by getting rid
> of the preceding space(s) that camel_medium_get_header returns. (I think
> gtkhtml didn't display the space in this context in 1.2 or something.)
> 
> 
> ______________________________________________________________________
> Index: mail/mail-format.c
> ===================================================================
> RCS file: /cvs/gnome/evolution/mail/mail-format.c,v
> retrieving revision 1.283
> diff -u -r1.283 mail-format.c
> --- mail/mail-format.c	28 Apr 2003 16:00:47 -0000	1.283
> +++ mail/mail-format.c	29 Apr 2003 16:04:54 -0000
> @@ -953,6 +953,8 @@
>  		if (!xmailer)
>  			return FALSE;
>  	}
> +	while (isspace ((unsigned char)*xmailer))
> +		xmailer++;
>  	
>  	evolution = strstr (xmailer, "Evolution");
>  	if ((xmask & MAIL_CONFIG_XMAILER_OTHER) ||
-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]