mirror of
https://github.com/weechat/weechat.git
synced 2026-07-06 17:53:13 +02:00
core: replace argument "keep_eol" by "flags" in function string_split (closes #1322)
This commit is contained in:
@@ -782,7 +782,11 @@ fset_buffer_display_option_eval (struct t_fset_option *fset_option)
|
||||
NULL);
|
||||
if (line)
|
||||
{
|
||||
lines = weechat_string_split (line, "\r\n", 0, 0, &num_lines);
|
||||
lines = weechat_string_split (line, "\r\n",
|
||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||
0, &num_lines);
|
||||
if (lines)
|
||||
{
|
||||
y = fset_option->index * fset_config_format_option_num_lines[format_number - 1];
|
||||
|
||||
Reference in New Issue
Block a user