1
0
forked from aniani/vim

patch 7.4.1895

Problem:    Cannot use a window ID where a window number is expected.
Solution:   Add LOWEST_WIN_ID, so that the window ID can be used where a
            number is expected.
This commit is contained in:
Bram Moolenaar
2016-06-04 18:49:36 +02:00
parent 511972d810
commit 888ccac890
6 changed files with 50 additions and 10 deletions

View File

@@ -4422,7 +4422,7 @@ buf_jump_open_tab(buf_T *buf)
}
#endif
static int last_win_id = 0;
static int last_win_id = LOWEST_WIN_ID - 1;
/*
* Allocate a window structure and link it in the window list when "hidden" is