1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 09:13:14 +02:00

Display own buffer lines in weechat log when dumping buffer (and not mixed lines)

This commit is contained in:
Sebastien Helleu
2010-01-29 10:01:41 +01:00
parent 2899770bbe
commit e23aed51a1
+2 -2
View File
@@ -2541,14 +2541,14 @@ gui_buffer_print_log ()
log_printf ("");
log_printf (" => last 100 lines:");
num = 0;
ptr_line = ptr_buffer->lines->last_line;
ptr_line = ptr_buffer->own_lines->last_line;
while (ptr_line && (num < 100))
{
num++;
ptr_line = ptr_line->prev_line;
}
if (!ptr_line)
ptr_line = ptr_buffer->lines->first_line;
ptr_line = ptr_buffer->own_lines->first_line;
else
ptr_line = ptr_line->next_line;