1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +02:00

core: make function gui_buffer_match_list case sensitive (issue #1872)

This commit is contained in:
Sébastien Helleu
2023-01-21 20:47:29 +01:00
parent 2ee65dd1ff
commit c724032a22
7 changed files with 39 additions and 17 deletions
+3 -1
View File
@@ -1138,6 +1138,8 @@ gui_buffer_string_replace_local_var (struct t_gui_buffer *buffer,
* List is a comma-separated list of buffers, where exclusion is possible with
* char '!', and "*" means all buffers.
*
* Comparison is case sensitive.
*
* Examples:
* "*"
* "*,!*#weechat*"
@@ -1165,7 +1167,7 @@ gui_buffer_match_list (struct t_gui_buffer *buffer, const char *string)
if (buffers)
{
match = string_match_list (buffer->full_name,
(const char **)buffers, 0);
(const char **)buffers, 1);
string_free_split (buffers);
}