Initialize modeprefix to 1 properly in window_pane_create, from Artem Fokin.

pull/654/head
nicm 2016-11-16 09:22:16 +00:00
parent e88b74350f
commit 5636d38a9d
1 changed files with 1 additions and 0 deletions

View File

@ -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;