summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-05-12 23:02:44 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-05-12 23:02:44 +0200
commit420d2944989412145de60914975437529590230e (patch)
tree6c2ed6689fa92ccca5dfad55df627dd4b61e821d /src/gui
parent2ab1626fa9b1844a8864134a1bc4c12574a201ea (diff)
downloadweechat-420d2944989412145de60914975437529590230e.zip
Add buffer pointer in hotlist infolist
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-hotlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui-hotlist.c b/src/gui/gui-hotlist.c
index 7548d1b9e..ae14bb5d3 100644
--- a/src/gui/gui-hotlist.c
+++ b/src/gui/gui-hotlist.c
@@ -449,6 +449,8 @@ gui_hotlist_add_to_infolist (struct t_infolist *infolist,
}
if (!infolist_new_var_buffer (ptr_item, "creation_time", &(hotlist->creation_time), sizeof (struct timeval)))
return 0;
+ if (!infolist_new_var_pointer (ptr_item, "buffer_pointer", hotlist->buffer))
+ return 0;
if (!infolist_new_var_integer (ptr_item, "buffer_number", hotlist->buffer->number))
return 0;