mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +02:00
core: replace argument "keep_eol" by "flags" in function string_split (closes #1322)
This commit is contained in:
@@ -256,8 +256,14 @@ script_completion_tags_cb (const void *pointer, void *data,
|
||||
{
|
||||
if (ptr_script->tags)
|
||||
{
|
||||
list_tags = weechat_string_split (ptr_script->tags, ",", 0, 0,
|
||||
&num_tags);
|
||||
list_tags = weechat_string_split (
|
||||
ptr_script->tags,
|
||||
",",
|
||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||
0,
|
||||
&num_tags);
|
||||
if (list_tags)
|
||||
{
|
||||
for (i = 0; i < num_tags; i++)
|
||||
|
||||
Reference in New Issue
Block a user