core: fix display of time in bare display when option weechat.look.buffer_time_format is set to empty string (closes #441)

This reverts commit 2498ff63dba0ad3880fc3dadcac6b36f047ac0e2.
This commit is contained in:
Sébastien Helleu 2015-06-14 14:11:15 +02:00
parent c8ac7e3791
commit 60ec9d5d51
2 changed files with 2 additions and 2 deletions

View File

@ -25,6 +25,8 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
=== Bugs fixed
* core: fix display of time in bare display when option
weechat.look.buffer_time_format is set to empty string (closes #441)
* fifo: fix send error on Cygwin when something is received in the pipe
(closes #436)
* irc: fix errors displayed on WHOX messages received (closes #376)

View File

@ -1905,8 +1905,6 @@ 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])
{