diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-11-16 09:22:17 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-11-16 09:22:17 +0000 |
commit | db0f251ade0e04baf0d15dedf3aeb1d1f3538783 (patch) | |
tree | 0406378dc6ff89790bf8b540a09144548ed2d9a9 /usr.bin/tmux | |
parent | 069ca04437edbbf5e46351ded17f23fbdc420a23 (diff) |
Initialize modeprefix to 1 properly in window_pane_create, from Artem Fokin.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r-- | usr.bin/tmux/window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c index e4fc4b6e192..a2510c23775 100644 --- a/usr.bin/tmux/window.c +++ b/usr.bin/tmux/window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.175 2016/11/16 00:24:03 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.176 2016/11/16 09:22:16 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -769,6 +769,7 @@ window_pane_create(struct window *w, u_int sx, u_int sy, u_int hlimit) wp->event = NULL; wp->mode = NULL; + wp->modeprefix = 1; wp->layout_cell = NULL; |