diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-15 20:29:45 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-28 15:13:57 +0100 |
commit | 5434f4f9694965ca6d07e6f26be95d2e932d1097 (patch) | |
tree | 888b202a6e9b5bf3ffc0660ca1058f88d0a192f5 /src/gui | |
parent | 4b5897f1103f0de27b70f05909424c4354e2d848 (diff) | |
download | weechat-5434f4f9694965ca6d07e6f26be95d2e932d1097.zip |
core, plugins: make plugin names case sensitive (issue #1872)
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/gui-layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-layout.c b/src/gui/gui-layout.c index 6ad859cf8..51b12c1d8 100644 --- a/src/gui/gui-layout.c +++ b/src/gui/gui-layout.c @@ -278,8 +278,8 @@ gui_layout_buffer_get_number (struct t_gui_layout *layout, else merge_order++; - if ((string_strcasecmp (ptr_layout_buffer->plugin_name, plugin_name) == 0) - && (string_strcasecmp (ptr_layout_buffer->buffer_name, buffer_name) == 0)) + if ((string_strcmp (ptr_layout_buffer->plugin_name, plugin_name) == 0) + && (string_strcmp (ptr_layout_buffer->buffer_name, buffer_name) == 0)) { *layout_number = ptr_layout_buffer->number; *layout_number_merge_order = merge_order; |