]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1524: passing -1 for bool is not always rejected v9.0.1524
authorzeertzjq <zeertzjq@outlook.com>
Mon, 8 May 2023 14:31:38 +0000 (15:31 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 8 May 2023 14:31:38 +0000 (15:31 +0100)
commit8cf51376b842e0060edf08bd2e5bd9933c552ecf
treee98edb7a30d0b40eacbd0281313621351ac9d055
parent276410e78f0b82e3123059383994d2f4c578dfbd
patch 9.0.1524: passing -1 for bool is not always rejected

Problem:    Passing -1 for bool is not always rejected.
Solution:   Check for error in a better way. (closes #12358)
src/strings.c
src/testdir/test_expr.vim
src/testdir/test_functions.vim
src/testdir/test_utf8.vim
src/version.c