[evolution-patches] x-mailer display fix
- From: Dan Winship <danw ximian com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] x-mailer display fix
- Date: 29 Apr 2003 12:13:04 -0400
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) ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]