artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3c6572
)
Remove a reference from the right window when removing from a winlink's
author
nicm
<nicm@openbsd.org>
Fri, 28 Apr 2017 19:12:15 +0000
(19:12 +0000)
committer
nicm
<nicm@openbsd.org>
Fri, 28 Apr 2017 19:12:15 +0000
(19:12 +0000)
list.
usr.bin/tmux/window.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/window.c
b/usr.bin/tmux/window.c
index
314e336
..
1c2bdd0
100644
(file)
--- a/
usr.bin/tmux/window.c
+++ b/
usr.bin/tmux/window.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: window.c,v 1.19
0 2017/04/20 17:49:26
nicm Exp $ */
+/* $OpenBSD: window.c,v 1.19
1 2017/04/28 19:12:15
nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-186,7
+186,7
@@
winlink_set_window(struct winlink *wl, struct window *w)
{
if (wl->window != NULL) {
TAILQ_REMOVE(&wl->window->winlinks, wl, wentry);
- window_remove_ref(w);
+ window_remove_ref(w
l->window
);
}
TAILQ_INSERT_TAIL(&w->winlinks, wl, wentry);
wl->window = w;