changeset 5265:0e2cc6379618

[gaim-migrate @ 5637] Paco-Paco did some more i18n-inating, and fixed IRC topic stuff committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 01 May 2003 06:06:51 +0000
parents e4dadc60ea5a
children b3a03b86b09b
files src/protocols/irc/irc.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/irc/irc.c	Thu May 01 05:54:54 2003 +0000
+++ b/src/protocols/irc/irc.c	Thu May 01 06:06:51 2003 +0000
@@ -1744,7 +1744,7 @@
                 char *word[], char *word_eol[])
 {
 	struct gaim_conversation *c = irc_find_chat(gc, word[3]);
-	char *topic = *word_eol[4] == ':' ? word_eol[4] + 1 : word_eol[4];
+	char *topic = irc_recv_convert(gc, *word_eol[4] == ':' ? word_eol[4] + 1 : word_eol[4]);
 	char buf[IRC_BUF_LEN];
 
 	if (c) {
@@ -1754,6 +1754,7 @@
 
 		gaim_conversation_write(c, NULL, buf, -1, WFLAG_SYSTEM, time(NULL));
 	}
+	g_free(topic);
 }
 
 static gboolean