diff options
author | nicm <nicm> | 2018-07-15 06:57:13 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-07-15 06:57:13 +0000 |
commit | ff67ef945dd9b93b7d62ea1ec8077d86f3c57d12 (patch) | |
tree | 479baeed0f9f4870e6ee1466e0908deba5f15360 /cmd-new-window.c | |
parent | cfc81692e64fee9b64ae72dbd978096bed435ab1 (diff) | |
download | rtmux-ff67ef945dd9b93b7d62ea1ec8077d86f3c57d12.tar.gz rtmux-ff67ef945dd9b93b7d62ea1ec8077d86f3c57d12.tar.bz2 rtmux-ff67ef945dd9b93b7d62ea1ec8077d86f3c57d12.zip |
Fix new-window -k, GitHub issue 1403.
Diffstat (limited to 'cmd-new-window.c')
-rw-r--r-- | cmd-new-window.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd-new-window.c b/cmd-new-window.c index 6a7cf0b8..5baeff65 100644 --- a/cmd-new-window.c +++ b/cmd-new-window.c @@ -103,7 +103,6 @@ cmd_new_window_exec(struct cmd *self, struct cmdq_item *item) else name = NULL; - wl = NULL; if (idx != -1) wl = winlink_find_by_index(&s->windows, idx); if (wl != NULL && args_has(args, 'k')) { |