]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 7.4.1273 v7.4.1273
authorBram Moolenaar <Bram@vim.org>
Sat, 6 Feb 2016 23:00:35 +0000 (00:00 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 6 Feb 2016 23:00:35 +0000 (00:00 +0100)
Problem:    assert_false(v:false) still fails.
Solution:   Fix the typo.

src/eval.c
src/version.c

index 1c2bd61aa0baa3207f0429c44a53ebe8bb55d5c4..a50fdbf270b1abd3b4a1fec321399163cd068463 100644 (file)
@@ -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
index fc373c07aa7585bae894a3734c957e45ffd6de03..9d0258033f998186a83157ba5c52aa3634f7fa84 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1273,
 /**/
     1272,
 /**/