From cb617d8b234e197fdf0922ff8df849beff831782 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 29 Jan 2013 19:31:04 +0100 Subject: [PATCH] core: fix hidden lines for messages without date when option weechat.history.max_buffer_lines_minutes is set (bug #38197) --- ChangeLog | 4 +++- src/gui/gui-chat.c | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8975abf42..959967f47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,12 +1,14 @@ WeeChat ChangeLog ================= Sébastien Helleu -v0.4.1-dev, 2013-01-26 +v0.4.1-dev, 2013-01-29 Version 0.4.1 (under dev!) -------------------------- +* core: fix hidden lines for messages without date when option + weechat.history.max_buffer_lines_minutes is set (bug #38197) * core: use default hash/comparison callback for keys of type integer/pointer/time in hashtable * guile: fix compilation with guile 2.0 diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c index 1c767996a..d63b33d87 100644 --- a/src/gui/gui-chat.c +++ b/src/gui/gui-chat.c @@ -717,8 +717,7 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date, if (gui_init_ok) { ptr_line = gui_line_add (buffer, (display_time) ? date : 0, - (display_time) ? date_printed : 0, - tags, pos_prefix, ptr_msg); + date_printed, tags, pos_prefix, ptr_msg); if (ptr_line) { if (buffer && buffer->print_hooks_enabled)