summaryrefslogtreecommitdiff
path: root/src/plugins/python/weechat-python.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/python/weechat-python.c
parent866a29c7e63bbda24e04fc36b34bbd798a8c98db (diff)
downloadweechat-917815635415b523eaf58ed4c65757247d5cca99.zip
api: add argument "strip_items" in function string_split
Diffstat (limited to 'src/plugins/python/weechat-python.c')
-rw-r--r--src/plugins/python/weechat-python.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/weechat-python.c b/src/plugins/python/weechat-python.c
index f36899dce..34ad5f15b 100644
--- a/src/plugins/python/weechat-python.c
+++ b/src/plugins/python/weechat-python.c
@@ -155,7 +155,7 @@ weechat_python_get_python2_bin ()
if (dir_separator && path)
{
- paths = weechat_string_split (path, ":",
+ paths = weechat_string_split (path, ":", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,