summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-07 00:00:35 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-07 00:00:35 +0100
commitc5f98ee987ae0c369867cf6cc581c766d3c0226d (patch)
tree7e0433e2c05fbd7695b76ddc27428ec4628a3fcf
parent1701481c53f4e6756038c9c00d51d491a8f42c65 (diff)
downloadvim-git-c5f98ee987ae0c369867cf6cc581c766d3c0226d.tar.gz
patch 7.4.1273v7.4.1273
Problem: assert_false(v:false) still fails. Solution: Fix the typo.
-rw-r--r--src/eval.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 1c2bd61aa..a50fdbf27 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -9217,7 +9217,7 @@ assert_bool(typval_T *argvars, int isTrue)
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
diff --git a/src/version.c b/src/version.c
index fc373c07a..9d0258033 100644
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1273,
+/**/
1272,
/**/
1271,