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

api: allow creation of structure with hdata_update (allowed for hdata "history")

This commit is contained in:
Sebastien Helleu
2012-12-08 23:54:07 +01:00
parent 3f2155e548
commit 641de51bdb
39 changed files with 213 additions and 118 deletions
+1 -1
View File
@@ -641,7 +641,7 @@ plugin_api_infolist_get_internal (void *data, const char *infolist_name,
if (ptr_infolist)
{
for (ptr_history = (pointer) ?
((struct t_gui_buffer *)pointer)->history : history_global;
((struct t_gui_buffer *)pointer)->history : gui_history;
ptr_history; ptr_history = ptr_history->next_history)
{
if (!gui_history_add_to_infolist (ptr_infolist, ptr_history))