diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-15 18:13:56 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-28 15:13:55 +0100 |
commit | 4b5897f1103f0de27b70f05909424c4354e2d848 (patch) | |
tree | a8103386d82aaad27566aed9f127bfdb7bce280c /src/core | |
parent | 489c26420220627a606805ead43a2bdc4d5545c1 (diff) | |
download | weechat-4b5897f1103f0de27b70f05909424c4354e2d848.zip |
core: make bar and bar items case sensitive (issue #1872)
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/wee-command.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c index c400f328b..28b6926e5 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -367,13 +367,13 @@ COMMAND_CALLBACK(bar) { for (i = 2; i < argc; i++) { - if (string_strcasecmp (argv[i], "input") == 0) + if (string_strcmp (argv[i], "input") == 0) gui_bar_create_default_input (); - else if (string_strcasecmp (argv[i], "title") == 0) + else if (string_strcmp (argv[i], "title") == 0) gui_bar_create_default_title (); - else if (string_strcasecmp (argv[i], "status") == 0) + else if (string_strcmp (argv[i], "status") == 0) gui_bar_create_default_status (); - else if (string_strcasecmp (argv[i], "nicklist") == 0) + else if (string_strcmp (argv[i], "nicklist") == 0) gui_bar_create_default_nicklist (); } } |