diff options
author | 2011-02-10 12:12:14 +0000 | |
---|---|---|
committer | 2011-02-10 12:12:14 +0000 | |
commit | 76af009915fc3ad76bfcf056a666e80a4f64c89f (patch) | |
tree | a4f8b081eac7e5435cabfa842a9e967523f9ff30 /usr.bin/tmux/cmd-split-window.c | |
parent | Regenerate. (diff) | |
download | wireguard-openbsd-76af009915fc3ad76bfcf056a666e80a4f64c89f.tar.xz wireguard-openbsd-76af009915fc3ad76bfcf056a666e80a4f64c89f.zip |
Size on split-window is -l not -s. Doh.
Diffstat (limited to 'usr.bin/tmux/cmd-split-window.c')
-rw-r--r-- | usr.bin/tmux/cmd-split-window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-split-window.c b/usr.bin/tmux/cmd-split-window.c index 16238efa487..04ff6ad1fa4 100644 --- a/usr.bin/tmux/cmd-split-window.c +++ b/usr.bin/tmux/cmd-split-window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-split-window.c,v 1.22 2011/01/04 00:42:47 nicm Exp $ */ +/* $OpenBSD: cmd-split-window.c,v 1.23 2011/02/10 12:12:14 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -91,8 +91,8 @@ cmd_split_window_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); |