core: fix hidden lines for messages without date when option weechat.history.max_buffer_lines_minutes is set (bug #38197)

This commit is contained in:
Sebastien Helleu 2013-01-29 19:31:04 +01:00
parent 25eaec3864
commit cb617d8b23
2 changed files with 4 additions and 3 deletions

View File

@ -1,12 +1,14 @@
WeeChat ChangeLog
=================
Sébastien Helleu <flashcode@flashtux.org>
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

View File

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