mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 15:26:37 +02:00
irc: fix completion of channel topic with UTF-8 chars (issue #1739)
This commit is contained in:
@@ -531,7 +531,7 @@ irc_completion_channel_topic_cb (const void *pointer, void *data,
|
||||
{
|
||||
if (irc_server_strncasecmp (ptr_server, ptr_channel->topic,
|
||||
ptr_channel->name,
|
||||
strlen (ptr_channel->name)) == 0)
|
||||
weechat_utf8_strlen (ptr_channel->name)) == 0)
|
||||
{
|
||||
/*
|
||||
* if topic starts with channel name, add another channel name
|
||||
|
||||
Reference in New Issue
Block a user