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

core: make buffer types and notify levels case sensitive (issue #1872)

This commit is contained in:
Sébastien Helleu
2023-01-21 20:36:31 +01:00
parent a3befc7aae
commit 2ee65dd1ff
+2 -2
View File
@@ -146,7 +146,7 @@ gui_buffer_search_type (const char *type)
for (i = 0; i < GUI_BUFFER_NUM_TYPES; i++)
{
if (string_strcasecmp (gui_buffer_type_string[i], type) == 0)
if (strcmp (gui_buffer_type_string[i], type) == 0)
return i;
}
@@ -169,7 +169,7 @@ gui_buffer_search_notify (const char *notify)
for (i = 0; i < GUI_BUFFER_NUM_NOTIFY; i++)
{
if (string_strcasecmp (gui_buffer_notify_string[i], notify) == 0)
if (strcmp (gui_buffer_notify_string[i], notify) == 0)
return i;
}