Update of /cvsroot/gaim/gaim/src/protocols/irc
In directory sc8-pr-cvs1:/tmp/cvs-serv4730/src/protocols/irc
Modified Files:
irc.c
Log Message:
Paco-Paco did some more i18n-inating, and fixed IRC topic stuff
Index: irc.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/protocols/irc/irc.c,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -d -r1.152 -r1.153
--- irc.c 26 Apr 2003 20:42:29 -0000 1.152
+++ irc.c 1 May 2003 06:06:51 -0000 1.153
@@ -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
|