[evolution-patches] fix for Bug 318697[gtkhtml]
- From: Rohini <srohini novell com>
- To: evolution-patches gnome org
- Subject: [evolution-patches] fix for Bug 318697[gtkhtml]
- Date: Sat, 11 Feb 2006 00:31:59 +0530
Hi
Attached fix for Bug 318697 – Auto email-link creation causing rendering
error (extra character)
Please Review.
Thanks,
Rohini
Index: camel-url-scanner.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/camel-url-scanner.c,v
retrieving revision 1.19
diff -u -p -r1.19 camel-url-scanner.c
--- camel-url-scanner.c 6 Dec 2005 04:21:55 -0000 1.19
+++ camel-url-scanner.c 10 Feb 2006 13:31:21 -0000
@@ -197,7 +197,8 @@ camel_url_addrspec_start (const char *in
g_assert (*inptr == '@');
- inptr--;
+ if (inptr > in)
+ inptr--;
while (inptr > in) {
if (is_atom (*inptr))
@@ -215,7 +216,7 @@ camel_url_addrspec_start (const char *in
if (!is_atom (*inptr) || is_open_brace (*inptr))
inptr++;
- if (inptr == pos)
+ if (inptr >= pos)
return FALSE;
match->um_so = (inptr - in);
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/ChangeLog,v
retrieving revision 1.2521
diff -u -p -r1.2521 ChangeLog
--- ChangeLog 2 Feb 2006 08:37:46 -0000 1.2521
+++ ChangeLog 10 Feb 2006 13:35:35 -0000
@@ -1,3 +1,9 @@
+2006-02-10 Rohini S <srohini novell com>
+
+ ** See bug 318697
+ * camel-url-scanner.c (camel_url_addrspec_start): conditions modified
+ to parse only valid mailto links
+
2006-02-02 Parthasarathi Susarla <sparthasarathi novell com>
** See bug 328481
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]