=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/layout-custom.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- src/usr.bin/tmux/layout-custom.c 2016/07/15 09:27:35 1.9 +++ src/usr.bin/tmux/layout-custom.c 2016/08/03 09:07:02 1.10 @@ -1,4 +1,4 @@ -/* $OpenBSD: layout-custom.c,v 1.9 2016/07/15 09:27:35 nicm Exp $ */ +/* $OpenBSD: layout-custom.c,v 1.10 2016/08/03 09:07:02 nicm Exp $ */ /* * Copyright (c) 2010 Nicholas Marriott @@ -150,7 +150,7 @@ /* 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. */