artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
946d7fb
)
Fix new-window -k, GitHub issue 1403.
author
nicm
<nicm@openbsd.org>
Sun, 15 Jul 2018 06:57:13 +0000
(06:57 +0000)
committer
nicm
<nicm@openbsd.org>
Sun, 15 Jul 2018 06:57:13 +0000
(06:57 +0000)
usr.bin/tmux/cmd-new-window.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/cmd-new-window.c
b/usr.bin/tmux/cmd-new-window.c
index
f4004cd
..
5ce3e77
100644
(file)
--- a/
usr.bin/tmux/cmd-new-window.c
+++ b/
usr.bin/tmux/cmd-new-window.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: cmd-new-window.c,v 1.7
5 2018/05/24 09:42:49
nicm Exp $ */
+/* $OpenBSD: cmd-new-window.c,v 1.7
6 2018/07/15 06:57:13
nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-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')) {