Merge #5257 from jbradaric/vim-7.4.1893

vim-patch:7.4.{1893,1895}
This commit is contained in:
Justin M. Keyes
2016-10-13 01:19:09 +02:00
committed by GitHub
8 changed files with 94 additions and 26 deletions

View File

@@ -3694,7 +3694,7 @@ win_T *buf_jump_open_tab(buf_T *buf)
*/
static win_T *win_alloc(win_T *after, int hidden)
{
static int last_win_id = 0;
static int last_win_id = LOWEST_WIN_ID - 1;
// allocate window structure and linesizes arrays
win_T *new_wp = xcalloc(1, sizeof(win_T));