summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-10-22 21:35:33 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-10-22 21:35:33 +0200
commit2498ff63dba0ad3880fc3dadcac6b36f047ac0e2 (patch)
treed8cf68a36844c1a167a74293d8d89e12d98fab1d /src
parent633a32ccd367bdb7e2f97066a4d35f01ecb8e8fb (diff)
downloadweechat-2498ff63dba0ad3880fc3dadcac6b36f047ac0e2.zip
core: display time in bare display only if option weechat.look.buffer_time_format is not an empty string
Diffstat (limited to 'src')
-rw-r--r--src/gui/curses/gui-curses-chat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-chat.c b/src/gui/curses/gui-curses-chat.c
index df8841a9e..bdc14f25a 100644
--- a/src/gui/curses/gui-curses-chat.c
+++ b/src/gui/curses/gui-curses-chat.c
@@ -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])
{