diff options
author | 2015-12-23 00:12:57 +0000 | |
---|---|---|
committer | 2015-12-23 00:12:57 +0000 | |
commit | 41f03a8eb2e183ac26572f9408406ce764727cd0 (patch) | |
tree | c9b138cebd493a513f3d24bb06349b4888a92e69 | |
parent | Test suite for colrm(1) including tests for single byte characters, (diff) | |
download | wireguard-openbsd-41f03a8eb2e183ac26572f9408406ce764727cd0.tar.xz wireguard-openbsd-41f03a8eb2e183ac26572f9408406ce764727cd0.zip |
Repair switch-client -l and switch-client with a window target.
-rw-r--r-- | usr.bin/tmux/cmd-switch-client.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-switch-client.c b/usr.bin/tmux/cmd-switch-client.c index d9264b11e12..95cdf513e99 100644 --- a/usr.bin/tmux/cmd-switch-client.c +++ b/usr.bin/tmux/cmd-switch-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-switch-client.c,v 1.40 2015/12/14 00:31:54 nicm Exp $ */ +/* $OpenBSD: cmd-switch-client.c,v 1.41 2015/12/23 00:12:57 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -90,10 +90,9 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_q *cmdq) cmdq_error(cmdq, "can't find last session"); return (CMD_RETURN_ERROR); } + } else { if (cmdq->client == NULL) return (CMD_RETURN_NORMAL); - - s = state->tflag.s; if (state->tflag.wl != NULL) { wp = state->tflag.wp; if (wp != NULL) |