summaryrefslogtreecommitdiff
path: root/src/gui/gui-buffer.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-03-07 11:26:06 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-03-07 11:26:06 +0100
commita44cc9ffde04c0bd0a28e53f5a64afcaa5479c49 (patch)
tree3c3a7e2ccbe358306b4454b611953dac5865dac4 /src/gui/gui-buffer.c
parent3194c641a0e687eef24d8066dab245abc71d7c1b (diff)
downloadweechat-a44cc9ffde04c0bd0a28e53f5a64afcaa5479c49.zip
Add new key to zoom a window (meta-z by default) (task #7470)
Diffstat (limited to 'src/gui/gui-buffer.c')
-rw-r--r--src/gui/gui-buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c
index a511a1905..6144f6071 100644
--- a/src/gui/gui-buffer.c
+++ b/src/gui/gui-buffer.c
@@ -292,7 +292,8 @@ gui_buffer_new (struct t_weechat_plugin *plugin,
new_buffer->plugin = plugin;
new_buffer->plugin_name_for_upgrade = NULL;
/* number will be set later (when inserting buffer in list) */
- new_buffer->layout_number = gui_layout_buffer_get_number (plugin_get_name (plugin),
+ new_buffer->layout_number = gui_layout_buffer_get_number (gui_layout_buffers,
+ plugin_get_name (plugin),
name);
new_buffer->name = strdup (name);
new_buffer->short_name = strdup (name);