diff libpurple/protocols/irc/irc.h @ 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 44b4e8bd759b
children 6b42bed44324
line wrap: on
line diff
--- a/libpurple/protocols/irc/irc.h	Sat Oct 06 17:49:40 2007 +0000
+++ b/libpurple/protocols/irc/irc.h	Sat Oct 06 21:58:54 2007 +0000
@@ -99,6 +99,8 @@
 int irc_send(struct irc_conn *irc, const char *buf);
 gboolean irc_blist_timeout(struct irc_conn *irc);
 
+char *irc_escape_privmsg(const char *text, gssize length);
+
 char *irc_mirc2html(const char *string);
 char *irc_mirc2txt(const char *string);