aboutsummaryrefslogtreecommitdiff
path: root/cmd-break-pane.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-break-pane.c')
-rw-r--r--cmd-break-pane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-break-pane.c b/cmd-break-pane.c
index 2aa5c5b7..39179cc7 100644
--- a/cmd-break-pane.c
+++ b/cmd-break-pane.c
@@ -84,7 +84,7 @@ cmd_break_pane_exec(struct cmd *self, struct cmd_q *cmdq)
layout_init(w, wp);
if (idx == -1)
- idx = -1 - options_get_number(&dst_s->options, "base-index");
+ idx = -1 - options_get_number(dst_s->options, "base-index");
wl = session_attach(dst_s, w, idx, &cause); /* can't fail */
if (!args_has(self->args, 'd'))
session_select(dst_s, wl->idx);