core: don't collapse consecutive newlines in lines displayed before the first buffer is created

This commit is contained in:
Sébastien Helleu 2020-05-10 10:29:01 +02:00
parent 8712e557d6
commit 1c269e9a81
2 changed files with 2 additions and 4 deletions

View File

@ -41,6 +41,7 @@ New features::
Bug fixes::
* core: don't collapse consecutive newlines in lines displayed before the first buffer is created
* core: don't remove consecutive newlines when pasting text (issue #1500)
* core: don't collapse consecutive newlines in bar content (issue #1500)
* core: fix WEECHAT_SHAREDIR with CMake build (issue #1461)

View File

@ -929,10 +929,7 @@ gui_chat_print_lines_waiting_buffer (FILE *f)
if (gui_chat_lines_waiting_buffer)
{
lines = string_split (*gui_chat_lines_waiting_buffer, "\n", NULL,
WEECHAT_STRING_SPLIT_STRIP_LEFT
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
0, &num_lines);
0, 0, &num_lines);
if (lines)
{
for (i = 0; i < num_lines; i++)