summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/gui-line.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/gui-line.c b/src/gui/gui-line.c
index c29c73f91..9fe1b6d12 100644
--- a/src/gui/gui-line.c
+++ b/src/gui/gui-line.c
@@ -973,6 +973,7 @@ gui_line_add_y (struct t_gui_buffer *buffer, int y, const char *message)
buffer->own_lines->lines_count++;
/* fill data in new line */
+ new_line->data->buffer = buffer;
new_line->data->y = y;
new_line->data->date = 0;
new_line->data->date_printed = 0;