1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 14:56:39 +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
+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;