diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-21 20:36:31 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-28 15:14:05 +0100 |
commit | 2ee65dd1ff359404b307f1452ef0610169dfb336 (patch) | |
tree | fb1aec118e64563aefb8e392e646df3f01d864f7 /src | |
parent | a3befc7aaeda89e1caa3d604d9c2e50faf31e2fd (diff) | |
download | weechat-2ee65dd1ff359404b307f1452ef0610169dfb336.zip |
core: make buffer types and notify levels case sensitive (issue #1872)
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui-buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c index 40fc82177..4cfed5886 100644 --- a/src/gui/gui-buffer.c +++ b/src/gui/gui-buffer.c @@ -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; } |