mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 20:06:38 +02:00
api: add argument "strip_items" in function string_split
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user