From 2ee65dd1ff359404b307f1452ef0610169dfb336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 21 Jan 2023 20:36:31 +0100 Subject: [PATCH] core: make buffer types and notify levels case sensitive (issue #1872) --- src/gui/gui-buffer.c | 4 ++-- 1 file 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; }