comparison 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
comparison
equal deleted inserted replaced
20798:97bda4a072d2 20809:c6232f341ea5
97 typedef int (*IRCCmdCallback) (struct irc_conn *irc, const char *cmd, const char *target, const char **args); 97 typedef int (*IRCCmdCallback) (struct irc_conn *irc, const char *cmd, const char *target, const char **args);
98 98
99 int irc_send(struct irc_conn *irc, const char *buf); 99 int irc_send(struct irc_conn *irc, const char *buf);
100 gboolean irc_blist_timeout(struct irc_conn *irc); 100 gboolean irc_blist_timeout(struct irc_conn *irc);
101 101
102 char *irc_escape_privmsg(const char *text, gssize length);
103
102 char *irc_mirc2html(const char *string); 104 char *irc_mirc2html(const char *string);
103 char *irc_mirc2txt(const char *string); 105 char *irc_mirc2txt(const char *string);
104 106
105 gboolean irc_ischannel(const char *string); 107 gboolean irc_ischannel(const char *string);
106 108