1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 23:06:38 +02:00

Save last read line (for marker) within /upgrade

This commit is contained in:
Sebastien Helleu
2008-11-22 17:47:25 +01:00
parent 828e9a835f
commit 09bed16dbd
4 changed files with 11 additions and 2 deletions
+2 -1
View File
@@ -353,7 +353,8 @@ plugin_api_infolist_get_internal (void *data, const char *infolist_name,
for (ptr_line = ((struct t_gui_buffer *)pointer)->lines; ptr_line;
ptr_line = ptr_line->next_line)
{
if (!gui_buffer_line_add_to_infolist (ptr_infolist, ptr_line))
if (!gui_buffer_line_add_to_infolist (ptr_infolist,
pointer, ptr_line))
{
infolist_free (ptr_infolist);
return NULL;