summaryrefslogtreecommitdiff
path: root/src/gui/gui-line.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-09-20 17:15:03 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-09-20 17:15:03 +0200
commitbe137ba3fcce4ccfdc596cdc071debca344a59b3 (patch)
treefd208d1a87c9b326307bcda765ab47f7f20a63c2 /src/gui/gui-line.c
parent209ff8bd2ed8f8c05c33682f98b93db25de4dfd3 (diff)
downloadweechat-be137ba3fcce4ccfdc596cdc071debca344a59b3.zip
core: add missing assignment of buffer pointer in line structure
Diffstat (limited to 'src/gui/gui-line.c')
-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;