diff libpurple/protocols/irc/msgs.c @ 20809:c6232f341ea5

Fix the mIRC format handling bug that causes incorrect display of received text. The behavior of g_markup_escape_text changed in glib 2.12, which caused this bug. This fix copies the working version of said function and the private helper function append_escaped_text() into our IRC prpl. Fixes #3467
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sat, 06 Oct 2007 21:58:54 +0000
parents bcda8512dce4
children 88aa557b997f
line wrap: on
line diff
--- a/libpurple/protocols/irc/msgs.c	Sat Oct 06 17:49:40 2007 +0000
+++ b/libpurple/protocols/irc/msgs.c	Sat Oct 06 21:58:54 2007 +0000
@@ -1066,7 +1066,7 @@
 		return;
 	}
 
-	msg = g_markup_escape_text(tmp, -1);
+	msg = irc_escape_privmsg(tmp, -1);
 	g_free(tmp);
 
 	tmp = irc_mirc2html(msg);