1
0
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:
Sébastien Helleu
2022-01-15 09:52:23 +01:00
parent c13aa86c79
commit b54d06630d
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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