summaryrefslogtreecommitdiff
path: root/src/plugins/demo/demo.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-04-16 14:44:02 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-04-16 14:44:02 +0200
commitae98666bc6111d1940d3b14fc4566b262cba2c87 (patch)
tree3bf80e92854c46b8fcef0270cf3df94cad028b6c /src/plugins/demo/demo.c
parent7489ec9a4041039719334c9d0406e31775132cc7 (diff)
downloadweechat-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.c4
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");