1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 00:03:12 +02:00

core: fix context info in buffers with free content (closes #1832)

This commit is contained in:
Sébastien Helleu
2022-10-10 20:24:58 +02:00
parent 6096350618
commit f97b74cae8
2 changed files with 11 additions and 0 deletions
+7
View File
@@ -15,6 +15,13 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
(file _ReleaseNotes.adoc_ in sources).
[[v3.8]]
== Version 3.8 (under dev)
Bug fixes::
* core: fix context info in buffers with free content (issue #1832)
[[v3.7]]
== Version 3.7 (2022-10-09)
+4
View File
@@ -294,6 +294,10 @@ gui_line_get_align (struct t_gui_buffer *buffer, struct t_gui_line *line,
{
int length_time, length_buffer, length_suffix, prefix_length, prefix_is_nick;
/* return immediately if buffer has free content (no alignment) */
if (buffer->type == GUI_BUFFER_TYPE_FREE)
return 0;
/* return immediately if line has no time (not aligned) */
if (line->data->date == 0)
return 0;