diff options
author | 2019-06-26 18:44:22 +0000 | |
---|---|---|
committer | 2019-06-26 18:44:22 +0000 | |
commit | 5f9583ae6585af65028f0abc5f88202a94e29417 (patch) | |
tree | e5d52a86c42a2dbf0c8bcd51e0ccbee12f68f692 /usr.bin/tmux/window.c | |
parent | Pass keys that aren't 0-9 on to normal key processing when display-panes (diff) | |
download | wireguard-openbsd-5f9583ae6585af65028f0abc5f88202a94e29417.tar.xz wireguard-openbsd-5f9583ae6585af65028f0abc5f88202a94e29417.zip |
Fix a typo in window_pane_find_down (w not wp) and a missing PANE_STATUS_TOP.
Diffstat (limited to 'usr.bin/tmux/window.c')
-rw-r--r-- | usr.bin/tmux/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c index df84f52f534..95b919154dd 100644 --- a/usr.bin/tmux/window.c +++ b/usr.bin/tmux/window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.238 2019/06/26 13:05:24 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.239 2019/06/26 18:44:22 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1368,7 +1368,7 @@ window_pane_find_down(struct window_pane *wp) if (edge >= w->sy - 1) edge = 0; } else { - if (edge >= wp->sy) + if (edge >= w->sy) edge = 0; } |