Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
20798:97bda4a072d2 | 20809:c6232f341ea5 |
---|---|
1064 if (!tmp) { | 1064 if (!tmp) { |
1065 g_free(nick); | 1065 g_free(nick); |
1066 return; | 1066 return; |
1067 } | 1067 } |
1068 | 1068 |
1069 msg = g_markup_escape_text(tmp, -1); | 1069 msg = irc_escape_privmsg(tmp, -1); |
1070 g_free(tmp); | 1070 g_free(tmp); |
1071 | 1071 |
1072 tmp = irc_mirc2html(msg); | 1072 tmp = irc_mirc2html(msg); |
1073 g_free(msg); | 1073 g_free(msg); |
1074 msg = tmp; | 1074 msg = tmp; |