diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-15 22:25:27 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-28 15:13:58 +0100 |
commit | bbbd08694b025d62faad878bfd210e24f85f8c04 (patch) | |
tree | 63e5da3dcd4b3e999b252b05688ef7acde16cb1e /src/gui/gui-completion.c | |
parent | 5434f4f9694965ca6d07e6f26be95d2e932d1097 (diff) | |
download | weechat-bbbd08694b025d62faad878bfd210e24f85f8c04.zip |
core: make get/set object properties case sensitive (issue #1872)
Diffstat (limited to 'src/gui/gui-completion.c')
-rw-r--r-- | src/gui/gui-completion.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/gui-completion.c b/src/gui/gui-completion.c index fde406f20..1b3f61e96 100644 --- a/src/gui/gui-completion.c +++ b/src/gui/gui-completion.c @@ -1497,11 +1497,11 @@ gui_completion_get_string (struct t_gui_completion *completion, { if (completion) { - if (string_strcasecmp (property, "base_command") == 0) + if (string_strcmp (property, "base_command") == 0) return completion->base_command; - else if (string_strcasecmp (property, "base_word") == 0) + else if (string_strcmp (property, "base_word") == 0) return completion->base_word; - else if (string_strcasecmp (property, "args") == 0) + else if (string_strcmp (property, "args") == 0) return completion->args; } |