aboutsummaryrefslogtreecommitdiff
path: root/layout-custom.c
diff options
context:
space:
mode:
Diffstat (limited to 'layout-custom.c')
-rw-r--r--layout-custom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout-custom.c b/layout-custom.c
index c93e39c0..205e1fca 100644
--- a/layout-custom.c
+++ b/layout-custom.c
@@ -150,7 +150,7 @@ layout_parse(struct window *w, const char *layout)
/* Fewer panes than cells - close the bottom right. */
lcchild = layout_find_bottomright(lc);
- layout_destroy_cell(lcchild, &lc);
+ layout_destroy_cell(w, lcchild, &lc);
}
/* Save the old window size and resize to the layout size. */