summaryrefslogtreecommitdiff
path: root/src/plugins/fset/fset-completion.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-06-15 20:47:14 +0200
committerSébastien Helleu <flashcode@flashtux.org>2019-06-15 20:47:14 +0200
commit917815635415b523eaf58ed4c65757247d5cca99 (patch)
treeabac3f1894ed07cbf2caed70cc285bde87b3263c /src/plugins/fset/fset-completion.c
parent866a29c7e63bbda24e04fc36b34bbd798a8c98db (diff)
downloadweechat-917815635415b523eaf58ed4c65757247d5cca99.zip
api: add argument "strip_items" in function string_split
Diffstat (limited to 'src/plugins/fset/fset-completion.c')
-rw-r--r--src/plugins/fset/fset-completion.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/fset/fset-completion.c b/src/plugins/fset/fset-completion.c
index 25b2eb6ec..2be16484b 100644
--- a/src/plugins/fset/fset-completion.c
+++ b/src/plugins/fset/fset-completion.c
@@ -82,6 +82,7 @@ fset_completion_option_cb (const void *pointer, void *data,
words = weechat_string_split (
weechat_config_option_get_string (ptr_option, "name"),
"_",
+ NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,