diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-22 17:47:25 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-22 17:47:25 +0100 |
commit | 09bed16dbd39791b43f86a1c00279c7fdb5cbb58 (patch) | |
tree | 1c156c3ae7188cdb77efe456c5810c9e64037137 /src/plugins | |
parent | 828e9a835fe52c904cb4533c777b72da156f6aeb (diff) | |
download | weechat-09bed16dbd39791b43f86a1c00279c7fdb5cbb58.zip |
Save last read line (for marker) within /upgrade
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/plugin-api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/plugin-api.c b/src/plugins/plugin-api.c index 3b9dd3fb5..0aea6d584 100644 --- a/src/plugins/plugin-api.c +++ b/src/plugins/plugin-api.c @@ -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; |