commit | d70840ed68296c1144d743e6335003c81c558c24 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Aug 22 15:06:35 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Aug 22 15:06:35 2020 +0200 |
tree | 2fe663bae5737733924e71796559725f5be472ad | |
parent | 1b04ce2d400fda97410a961288c496bd8f445a9c [diff] [blame] |
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.
diff --git a/src/version.c b/src/version.c index 843fd43..575f343 100644 --- a/src/version.c +++ b/src/version.c
@@ -755,6 +755,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1506, +/**/ 1505, /**/ 1504,