0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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

@@ -2334,4 +2334,7 @@ int vim_main2(int argc, char **argv);
#define DIP_OPT 0x10 /* also use "opt" directory in 'packpath' */
#define DIP_NORTP 0x20 /* do not use 'runtimepath' */
/* Lowest number used for window ID. Cannot have this many windows. */
#define LOWEST_WIN_ID 1000
#endif /* VIM__H */