mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 15:53:12 +02:00
core: display time in bare display only if option weechat.look.buffer_time_format is not an empty string
This commit is contained in:
@@ -1896,6 +1896,8 @@ gui_chat_get_bare_line (struct t_gui_line *line)
|
||||
str_time[0] = '\0';
|
||||
if (line->data->buffer->time_for_each_line
|
||||
&& (line->data->date > 0)
|
||||
&& CONFIG_STRING(config_look_buffer_time_format)
|
||||
&& CONFIG_STRING(config_look_buffer_time_format)[0]
|
||||
&& CONFIG_STRING(config_look_bare_display_time_format)
|
||||
&& CONFIG_STRING(config_look_bare_display_time_format)[0])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user