diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-05-18 20:18:37 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-05-18 20:18:37 +0000 |
commit | 1b75d0e82c15706fe7294797a46c4e8e963fb068 (patch) | |
tree | e28066f39283427e81d6d3b9652a8ab612690c8c /net-im/gaim/files | |
parent | ccf9bcffa566a163726639ff29606ebf2640bf46 (diff) | |
download | ports-1b75d0e82c15706fe7294797a46c4e8e963fb068.tar.gz ports-1b75d0e82c15706fe7294797a46c4e8e963fb068.zip |
Notes
Diffstat (limited to 'net-im/gaim/files')
-rw-r--r-- | net-im/gaim/files/patch-src_protocols_irc_irc.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/net-im/gaim/files/patch-src_protocols_irc_irc.c b/net-im/gaim/files/patch-src_protocols_irc_irc.c deleted file mode 100644 index e042b2e7a1e9..000000000000 --- a/net-im/gaim/files/patch-src_protocols_irc_irc.c +++ /dev/null @@ -1,35 +0,0 @@ ---- src/protocols/irc/irc.c.orig Wed Mar 12 11:50:45 2003 -+++ src/protocols/irc/irc.c Wed Mar 12 12:20:56 2003 -@@ -699,9 +699,11 @@ - - if ((c = irc_find_chat(gc, text))) { - char buf[IRC_BUF_LEN]; -- gaim_chat_set_topic(GAIM_CHAT(c), NULL, po); -+ char *utf8 = irc_recv_convert(gc, po); -+ gaim_chat_set_topic(GAIM_CHAT(c), NULL, utf8); - g_snprintf(buf, sizeof(buf), _("<B>%s has changed the topic to: %s</B>"), -- text, po); -+ text, utf8); -+ g_free(utf8); - - gaim_conversation_write(c, NULL, buf, -1, WFLAG_SYSTEM, time(NULL)); - } -@@ -1616,12 +1618,14 @@ - { - struct gaim_conversation *c = irc_find_chat(gc, word[3]); - char *topic = *word_eol[4] == ':' ? word_eol[4] + 1 : word_eol[4]; -- char buf[IRC_BUF_LEN]; - - if (c) { -- gaim_chat_set_topic(GAIM_CHAT(c), nick, topic); -+ char buf[IRC_BUF_LEN]; -+ char *utf8 = irc_recv_convert(gc, topic); -+ gaim_chat_set_topic(GAIM_CHAT(c), nick, utf8); - g_snprintf(buf, sizeof(buf), -- _("<B>%s has changed the topic to: %s</B>"), nick, topic); -+ _("<B>%s has changed the topic to: %s</B>"), nick, utf8); -+ g_free(utf8); - - gaim_conversation_write(c, NULL, buf, -1, WFLAG_SYSTEM, time(NULL)); - } - |