diff options
-rw-r--r-- | src/gui/gui-buffer.c | 4 |
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; |