Mercurial > vim
changeset 7955:a4de8e834b8f v7.4.1273
commit https://github.com/vim/vim/commit/c5f98ee987ae0c369867cf6cc581c766d3c0226d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 7 00:00:35 2016 +0100
patch 7.4.1273
Problem: assert_false(v:false) still fails.
Solution: Fix the typo.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 07 Feb 2016 00:15:04 +0100 |
parents | b3503d3cdc6e |
children | 31dfe91e5016 |
files | src/eval.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -9217,7 +9217,7 @@ assert_bool(typval_T *argvars, int isTru garray_T ga; if (argvars[0].v_type == VAR_SPECIAL - && argvars[0].vval.v_number == (isTrue ? VVAL_TRUE : VV_FALSE)) + && argvars[0].vval.v_number == (isTrue ? VVAL_TRUE : VVAL_FALSE)) return; if (argvars[0].v_type != VAR_NUMBER || (get_tv_number_chk(&argvars[0], &error) == 0) == isTrue