[gaim-migrate @ 9275]

Wed, 31 Mar 2004 15:51:31 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Wed, 31 Mar 2004 15:51:31 +0000
changeset 8536
b546a87d7a2a
parent 8535
c1c02521fd77
child 8537
54e9289e5c6d

[gaim-migrate @ 9275]
(10:51:01) datallah: LSchiere: I've got a fix for bug #925013

from bug #925013:
" Since I set a contact's nick to a string that contained
an ampersand I stopped receiving "new message" or "user
is typing" type of notifications for that contact. Then
I replaced the ampersand and now it works as expected." --Javier Kohen

committer: Luke Schierer <lschiere@pidgin.im>

src/gtkconv.c file | annotate | diff | comparison | revisions
--- a/src/gtkconv.c	Wed Mar 31 06:32:48 2004 +0000
+++ b/src/gtkconv.c	Wed Mar 31 15:51:31 2004 +0000
@@ -4966,10 +4966,13 @@
 
 		if (*color != '\0')
 		{
-			char *label;
+			char *html_title,*label;
+
+			html_title = gaim_escape_html(title);
 
 			label = g_strdup_printf("<span color=\"%s\">%s</span>",
-			                        color, title);
+			                        color, html_title);
+			g_free(html_title);
 			gtk_label_set_markup(GTK_LABEL(gtkconv->tab_label), label);
 			g_free(label);
 		}

mercurial