diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-06-15 20:47:14 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-06-15 20:47:14 +0200 |
commit | 917815635415b523eaf58ed4c65757247d5cca99 (patch) | |
tree | abac3f1894ed07cbf2caed70cc285bde87b3263c /src/core/wee-completion.c | |
parent | 866a29c7e63bbda24e04fc36b34bbd798a8c98db (diff) | |
download | weechat-917815635415b523eaf58ed4c65757247d5cca99.zip |
api: add argument "strip_items" in function string_split
Diffstat (limited to 'src/core/wee-completion.c')
-rw-r--r-- | src/core/wee-completion.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-completion.c b/src/core/wee-completion.c index b45e331c3..e37b6186e 100644 --- a/src/core/wee-completion.c +++ b/src/core/wee-completion.c @@ -964,7 +964,7 @@ completion_list_add_plugins_commands_cb (const void *pointer, void *data, if (!completion->args) return WEECHAT_RC_OK; - argv = string_split (completion->args, " ", + argv = string_split (completion->args, " ", NULL, WEECHAT_STRING_SPLIT_STRIP_LEFT | WEECHAT_STRING_SPLIT_STRIP_RIGHT | WEECHAT_STRING_SPLIT_COLLAPSE_SEPS, @@ -1653,7 +1653,7 @@ completion_list_add_env_value_cb (const void *pointer, void *data, if (completion->args) { - argv = string_split (completion->args, " ", + argv = string_split (completion->args, " ", NULL, WEECHAT_STRING_SPLIT_STRIP_LEFT | WEECHAT_STRING_SPLIT_STRIP_RIGHT | WEECHAT_STRING_SPLIT_COLLAPSE_SEPS, |