summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-06-10 13:50:40 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-06-10 13:50:40 +0200
commitb67da8860c7fb8e510620a9587a3da7c358f5b01 (patch)
treef62822593d8ac17710bba696ccff83d83f7ed979 /src
parent1cd9074c09a9b87021ed53b6b5450852a48d3ebd (diff)
downloadweechat-b67da8860c7fb8e510620a9587a3da7c358f5b01.zip
Add variable "active" in buffer infolist
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui-buffer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c
index 373451276..e304dd82d 100644
--- a/src/gui/gui-buffer.c
+++ b/src/gui/gui-buffer.c
@@ -2174,6 +2174,8 @@ gui_buffer_add_to_infolist (struct t_infolist *infolist,
return 0;
if (!infolist_new_var_integer (ptr_item, "num_displayed", buffer->num_displayed))
return 0;
+ if (!infolist_new_var_integer (ptr_item, "active", buffer->active))
+ return 0;
if (!infolist_new_var_integer (ptr_item, "print_hooks_enabled", buffer->print_hooks_enabled))
return 0;
if (!infolist_new_var_integer (ptr_item, "first_line_not_read", buffer->lines->first_line_not_read))