1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 17:23:15 +02:00

Fix infinite loop with /layout apply and bug when applying layout, sometimes many /layout apply were needed (bug #26110)

This commit is contained in:
Sebastien Helleu
2010-03-29 16:30:23 +02:00
parent 88853df080
commit 56526db5cf
4 changed files with 47 additions and 9 deletions
+1
View File
@@ -401,6 +401,7 @@ gui_buffer_new (struct t_weechat_plugin *plugin,
new_buffer->layout_number = gui_layout_buffer_get_number (gui_layout_buffers,
plugin_get_name (plugin),
name);
new_buffer->layout_applied = 0;
new_buffer->name = strdup (name);
new_buffer->short_name = strdup (name);
new_buffer->type = GUI_BUFFER_TYPE_FORMATTED;