diff --git a/cmd-join-pane.c b/cmd-join-pane.c index 10b4dda3..be4335fc 100644 --- a/cmd-join-pane.c +++ b/cmd-join-pane.c @@ -89,8 +89,8 @@ cmd_join_pane_exec(struct cmd *self, struct cmd_ctx *ctx) type = LAYOUT_LEFTRIGHT; size = -1; - if (args_has(args, 's')) { - size = args_strtonum(args, 's', 0, INT_MAX, &cause); + if (args_has(args, 'l')) { + size = args_strtonum(args, 'l', 0, INT_MAX, &cause); if (cause != NULL) { ctx->error(ctx, "size %s", cause); xfree(cause);