summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-01-14 08:26:10 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-01-14 08:26:10 +0000
commit83852ca3abf727e5c1770b5b7383b3322e88b340 (patch)
tree6ee0ce281f3bad227be4e0b5001357e44c8842f9 /src
parenta4695f5ba2ec3ac06db8f0c9899298c0f58f6d7e (diff)
downloadweechat-83852ca3abf727e5c1770b5b7383b3322e88b340.zip
Fixed charset decoding bug when displaying topic of a channel
Diffstat (limited to 'src')
-rw-r--r--src/irc/irc-recv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c
index 42648447c..f521d581e 100644
--- a/src/irc/irc-recv.c
+++ b/src/irc/irc-recv.c
@@ -3617,10 +3617,11 @@ irc_cmd_recv_332 (t_irc_server *server, char *host, char *nick, char *arguments)
if (!command_ignored)
{
irc_display_prefix (server, ptr_channel->buffer, PREFIX_INFO);
- gui_printf (ptr_channel->buffer, _("Topic for %s%s%s is: \"%s\"\n"),
+ gui_printf (ptr_channel->buffer, _("Topic for %s%s%s is: "),
GUI_COLOR(COLOR_WIN_CHAT_CHANNEL),
pos,
- GUI_COLOR(COLOR_WIN_CHAT),
+ GUI_COLOR(COLOR_WIN_CHAT));
+ gui_printf (ptr_channel->buffer, "\"%s\"\n",
pos2);
}