summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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])
{