diff options
author | Tiago Cunha <tcunha@gmx.com> | 2011-02-15 15:26:54 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2011-02-15 15:26:54 +0000 |
commit | c7624fd25d61b5585434273e79192914074be27a (patch) | |
tree | 39c5c7b67da36ca07d6272d9d99ce15877199105 /cmd-split-window.c | |
parent | 32de1d52eab6bc27a52e3a96db0b8d36a598a609 (diff) |
Sync OpenBSD patchset 862:
Size on split-window is -l not -s. Doh.
Diffstat (limited to 'cmd-split-window.c')
-rw-r--r-- | cmd-split-window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd-split-window.c b/cmd-split-window.c index 59fadebb..c8e3b87e 100644 --- a/cmd-split-window.c +++ b/cmd-split-window.c @@ -1,4 +1,4 @@ -/* $Id: cmd-split-window.c,v 1.37 2011-01-07 14:45:34 tcunha Exp $ */ +/* $Id: cmd-split-window.c,v 1.38 2011-02-15 15:26:54 tcunha Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -90,8 +90,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); |