summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-join-pane.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2011-01-23 15:46:49 +0000
committernicm <nicm@openbsd.org>2011-01-23 15:46:49 +0000
commit29cf3973431c5c9da3186c1a4f612a8101b0ae02 (patch)
treed3a2fe03b4be4bc78d0f06e1268cbc59633e9a76 /usr.bin/tmux/cmd-join-pane.c
parentAnsify function. (diff)
downloadwireguard-openbsd-29cf3973431c5c9da3186c1a4f612a8101b0ae02.tar.xz
wireguard-openbsd-29cf3973431c5c9da3186c1a4f612a8101b0ae02.zip
Size is -l not -s.
Diffstat (limited to 'usr.bin/tmux/cmd-join-pane.c')
-rw-r--r--usr.bin/tmux/cmd-join-pane.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-join-pane.c b/usr.bin/tmux/cmd-join-pane.c
index 021c7d1a24f..ef090269efc 100644
--- a/usr.bin/tmux/cmd-join-pane.c
+++ b/usr.bin/tmux/cmd-join-pane.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-join-pane.c,v 1.5 2011/01/04 00:42:46 nicm Exp $ */
+/* $OpenBSD: cmd-join-pane.c,v 1.6 2011/01/23 15:46:49 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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);