1
0
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:
Sébastien Helleu
2014-10-22 21:35:33 +02:00
parent 633a32ccd3
commit 2498ff63db
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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])
{