changeset 27781:ed11d1cabbe4

Fixes #9661
author Sulabh Mahajan <sulabh@soc.pidgin.im>
date Sat, 01 Aug 2009 07:45:23 +0000
parents c8af11ba1ee8
children 931bb24c28ab
files libpurple/protocols/yahoo/util.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/util.c	Sat Aug 01 02:59:31 2009 +0000
+++ b/libpurple/protocols/yahoo/util.c	Sat Aug 01 07:45:23 2009 +0000
@@ -757,6 +757,8 @@
 					} else if (!g_ascii_strncasecmp(&src[i+1], "A HREF=\"", j - i - 1)) {
 						j += 7;
 						g_string_append(dest, "\033[lm");
+						if (purple_str_has_prefix(src + j, "mailto:"))
+							j += sizeof("mailto:") - 1;
 						while (1) {
 							g_string_append_c(dest, src[j]);
 							if (++j >= src_len) {