summaryrefslogtreecommitdiffstats
path: root/cmd-join-pane.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2011-01-23 15:47:31 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2011-01-23 15:47:31 +0000
commit2be75a0129edc2d3a9586551d2253e394e2ef77e (patch)
treeeabb6da6f9a098baa127ffc9aeda80148e47a3cc /cmd-join-pane.c
parentec3a764c7635350a66b7b625421946b0e732c881 (diff)
Size is -l not -s.
Diffstat (limited to 'cmd-join-pane.c')
-rw-r--r--cmd-join-pane.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-join-pane.c b/cmd-join-pane.c
index 611e2a77..45abcfc2 100644
--- a/cmd-join-pane.c
+++ b/cmd-join-pane.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-join-pane.c,v 1.6 2011-01-07 14:45:34 tcunha Exp $ */
+/* $Id: cmd-join-pane.c,v 1.7 2011-01-23 15:47:31 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -88,8 +88,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);