aboutsummaryrefslogtreecommitdiff
path: root/layout-custom.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2016-08-03 12:01:11 +0100
committerThomas Adam <thomas@xteddy.org>2016-08-03 12:01:11 +0100
commitbaf155022707fea86cdbd3da8e3e4f1e27c449ec (patch)
treee813dfdcfb66d2a3d01f5c322d45f524204b8df7 /layout-custom.c
parentaf389364739224e5fefa1e523b110fdcae1c7961 (diff)
parentf811127bb602cd78295b75132e3e1252e5aebc98 (diff)
downloadrtmux-baf155022707fea86cdbd3da8e3e4f1e27c449ec.tar.gz
rtmux-baf155022707fea86cdbd3da8e3e4f1e27c449ec.tar.bz2
rtmux-baf155022707fea86cdbd3da8e3e4f1e27c449ec.zip
Merge branch 'obsd-master'
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. */