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:
@@ -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
|
||||
|
||||
@@ -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