summaryrefslogtreecommitdiff
path: root/src/plugins/demo
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/demo')
-rw-r--r--src/plugins/demo/demo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/demo/demo.c b/src/plugins/demo/demo.c
index 46437f93b..08c4dc5fd 100644
--- a/src/plugins/demo/demo.c
+++ b/src/plugins/demo/demo.c
@@ -171,9 +171,11 @@ demo_buffer_command_cb (void *data, struct t_gui_buffer *buffer, int argc,
&demo_buffer_input_data_cb, NULL,
&demo_buffer_close_cb, NULL);
if (new_buffer)
+ {
weechat_buffer_set (new_buffer, "display", "1");
- weechat_hook_signal_send ("logger_backlog",
- WEECHAT_HOOK_SIGNAL_POINTER, new_buffer);
+ weechat_hook_signal_send ("logger_backlog",
+ WEECHAT_HOOK_SIGNAL_POINTER, new_buffer);
+ }
}
return WEECHAT_RC_OK;