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:
@@ -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)
|
||||
|
||||
@@ -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 ();
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user