diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-26 23:12:32 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-28 15:14:07 +0100 |
commit | 73c3c039154306f58536156be70e1b0635df2ce6 (patch) | |
tree | 961012f1bbf9222a25b205d9b81771c65c7afdc0 /src/gui/curses/gui-curses-color.c | |
parent | c724032a220790cd3a62154e8b482ff08af21abc (diff) | |
download | weechat-73c3c039154306f58536156be70e1b0635df2ce6.zip |
core, plugins: make input actions in buffers case sensitive (issue #1872)
Diffstat (limited to 'src/gui/curses/gui-curses-color.c')
-rw-r--r-- | src/gui/curses/gui-curses-color.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/curses/gui-curses-color.c b/src/gui/curses/gui-curses-color.c index ebcd33f02..0d0474456 100644 --- a/src/gui/curses/gui-curses-color.c +++ b/src/gui/curses/gui-curses-color.c @@ -1199,20 +1199,20 @@ gui_color_buffer_input_cb (const void *pointer, void *data, (void) pointer; (void) data; - if (string_strcasecmp (input_data, "e") == 0) + if (string_strcmp (input_data, "e") == 0) { gui_color_buffer_extra_info ^= 1; gui_color_buffer_display (); } - else if (string_strcasecmp (input_data, "r") == 0) + else if (string_strcmp (input_data, "r") == 0) { gui_color_buffer_display (); } - else if (string_strcasecmp (input_data, "q") == 0) + else if (string_strcmp (input_data, "q") == 0) { gui_buffer_close (buffer); } - else if (string_strcasecmp (input_data, "z") == 0) + else if (string_strcmp (input_data, "z") == 0) { gui_color_reset_pairs (); } |