1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +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
@@ -35,6 +35,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
=== Bugs fixed
* core: display time in bare display only if option
weechat.look.buffer_time_format is not an empty string
* core: fix translation of message displayed after /upgrade
* irc: add tag "nick_xxx" in invite messages
* irc: fix completion of commands /msg, /notice and /query
+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])
{