Fix new-window -k, GitHub issue 1403.

pull/1404/merge
nicm 2018-07-15 06:57:13 +00:00
parent cfc81692e6
commit ff67ef945d
1 changed files with 0 additions and 1 deletions

View File

@ -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')) {