diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-26 23:22:01 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-28 15:14:08 +0100 |
commit | 7a8ce6c9ae0fcb7d2a27c8ae05247ac029bc537a (patch) | |
tree | b980de77d06bfe32530e77e644eef91c39c32b0d /src/gui/curses/gui-curses-color.c | |
parent | 73c3c039154306f58536156be70e1b0635df2ce6 (diff) | |
download | weechat-7a8ce6c9ae0fcb7d2a27c8ae05247ac029bc537a.zip |
core: make color names and attributes case sensitive (issue #1872)
Diffstat (limited to 'src/gui/curses/gui-curses-color.c')
-rw-r--r-- | src/gui/curses/gui-curses-color.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/curses/gui-curses-color.c b/src/gui/curses/gui-curses-color.c index 0d0474456..e1c214c20 100644 --- a/src/gui/curses/gui-curses-color.c +++ b/src/gui/curses/gui-curses-color.c @@ -125,7 +125,7 @@ gui_color_search (const char *color_name) for (i = 0; gui_weechat_colors[i].string; i++) { - if (string_strcasecmp (gui_weechat_colors[i].string, color_name) == 0) + if (string_strcmp (gui_weechat_colors[i].string, color_name) == 0) return i; } |