summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-01-26 23:29:34 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-01-28 15:14:11 +0100
commitf11d59892881e6fb0f65b0529ec4572777af24f9 (patch)
tree5288a41c91c1eafdd0cc8f06e60ccd611c18102f /src/gui
parent8744fdfaf31ea8a5ba2efb9af34397ab01bf1369 (diff)
downloadweechat-f11d59892881e6fb0f65b0529ec4572777af24f9.zip
core: make hotlist priorities case sensitive (issue #1872)
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-hotlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-hotlist.c b/src/gui/gui-hotlist.c
index 34dfc1700..0506d409f 100644
--- a/src/gui/gui-hotlist.c
+++ b/src/gui/gui-hotlist.c
@@ -85,7 +85,7 @@ gui_hotlist_search_priority (const char *priority)
for (i = 0; i < GUI_HOTLIST_NUM_PRIORITIES; i++)
{
- if (string_strcasecmp (gui_hotlist_priority_string[i], priority) == 0)
+ if (strcmp (gui_hotlist_priority_string[i], priority) == 0)
return i;
}