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:
@@ -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)
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user