1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

core: fix search of commands with UTF-8 chars in name when option weechat.look.command_incomplete is on (issue #1739)

This commit is contained in:
Sébastien Helleu
2022-01-15 09:42:10 +01:00
parent dee7313fcc
commit bda7bb64d2
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -26,6 +26,7 @@ New features::
Bug fixes::
* core: fix search of commands with UTF-8 chars in name when option weechat.look.command_incomplete is on (issue #1739)
* core: fix display of hotlist in buflist after changing value of option weechat.look.hotlist_sort (issue #1733)
* irc: fix parsing of messages 311, 312, 327 (whois) and 314 (whowas) in case of missing parameters
* irc: fix parsing of message 338 (whois, host) sent by Rizon server (issue #1737)
+1 -1
View File
@@ -375,7 +375,7 @@ hook_command_exec (struct t_gui_buffer *buffer, int any_plugin,
0, NULL);
ptr_command_name = utf8_next_char (argv[0]);
length_command_name = strlen (ptr_command_name);
length_command_name = utf8_strlen (ptr_command_name);
hook_exec_start ();
+1 -1
View File
@@ -321,7 +321,7 @@ gui_completion_search_command (struct t_weechat_plugin *plugin,
hook_for_other_plugin = NULL;
hook_incomplete_command = NULL;
length_command = strlen (command);
length_command = utf8_strlen (command);
count_incomplete_commands = 0;
allow_incomplete_commands = CONFIG_BOOLEAN(config_look_command_incomplete);