summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-01-29 10:01:41 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-01-29 10:01:41 +0100
commite23aed51a17f8c5bf0c7167013e8c7a6ad7c938a (patch)
treea7ba6bdb534c0c05c30de4984a952a236c5691d9
parent2899770bbe45dfba7fae6cf507dbe9bb4283aa1a (diff)
downloadweechat-e23aed51a17f8c5bf0c7167013e8c7a6ad7c938a.zip
Display own buffer lines in weechat log when dumping buffer (and not mixed lines)
-rw-r--r--src/gui/gui-buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c
index f455dfc22..1d1acf5c2 100644
--- a/src/gui/gui-buffer.c
+++ b/src/gui/gui-buffer.c
@@ -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;