diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-16 14:44:02 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-16 14:44:02 +0200 |
commit | ae98666bc6111d1940d3b14fc4566b262cba2c87 (patch) | |
tree | 3bf80e92854c46b8fcef0270cf3df94cad028b6c /src/plugins/demo/demo.c | |
parent | 7489ec9a4041039719334c9d0406e31775132cc7 (diff) | |
download | weechat-ae98666bc6111d1940d3b14fc4566b262cba2c87.zip |
Added "toggle" value for /set on boolean options, fixed refresh bugs, added option type for infolist "options"
Diffstat (limited to 'src/plugins/demo/demo.c')
-rw-r--r-- | src/plugins/demo/demo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/demo/demo.c b/src/plugins/demo/demo.c index f8a4620bc..1f4b2609f 100644 --- a/src/plugins/demo/demo.c +++ b/src/plugins/demo/demo.c @@ -296,7 +296,7 @@ demo_infolist_command_cb (void *data, struct t_gui_buffer *buffer, int argc, { if (weechat_strcasecmp (argv[1], "buffer") == 0) { - infolist = weechat_infolist_get ("buffer", NULL); + infolist = weechat_infolist_get ("buffer", NULL, NULL); if (infolist) { demo_infolist_print (infolist, "buffer"); @@ -306,7 +306,7 @@ demo_infolist_command_cb (void *data, struct t_gui_buffer *buffer, int argc, } if (weechat_strcasecmp (argv[1], "buffer_lines") == 0) { - infolist = weechat_infolist_get ("buffer_lines", NULL); + infolist = weechat_infolist_get ("buffer_lines", NULL, NULL); if (infolist) { demo_infolist_print (infolist, "buffer_line"); |