Fix moving windows to nonexistent indexes when renumber-windows is
authornicm <nicm@openbsd.org>
Tue, 21 Apr 2015 21:24:49 +0000 (21:24 +0000)
committernicm <nicm@openbsd.org>
Tue, 21 Apr 2015 21:24:49 +0000 (21:24 +0000)
commit6df8b7e5012410224f25125a87a360f6c31e06ce
treeb0fb0e919981c87cfc6a1bc5c234ec491dec977f
parent6c482104e1653cab8f2cab7d72ccce2166209181
Fix moving windows to nonexistent indexes when renumber-windows is
off. From Thomas Adam, reported by Daniel Levai and Theo Buehler.
usr.bin/tmux/cmd-move-window.c
usr.bin/tmux/server-fn.c