diff --git a/ChangeLog.adoc b/ChangeLog.adoc index 76b1c5035..dfd118649 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -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) diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c index e68761d19..f70e9bb50 100644 --- a/src/gui/gui-chat.c +++ b/src/gui/gui-chat.c @@ -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++)