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

patch 8.2.1506: Vim9: no error when using a number other than 0 or 1 as bool

Problem:    Vim9: no error when using a number other than 0 or 1 as bool.
Solution:   Check the number is 0 or 1.
This commit is contained in:
Bram Moolenaar
2020-08-22 15:06:35 +02:00
parent 1b04ce2d40
commit d70840ed68
4 changed files with 23 additions and 5 deletions

View File

@@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1506,
/**/
1505,
/**/