]> granicus.if.org Git - vim/commitdiff
patch 8.0.0046 v8.0.0046
authorBram Moolenaar <Bram@vim.org>
Fri, 21 Oct 2016 18:35:37 +0000 (20:35 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 21 Oct 2016 18:35:37 +0000 (20:35 +0200)
Problem:    Using NUL instead of NULL.
Solution:   Change to NULL. (Dominique Pelle)

src/ex_cmds.c
src/json.c
src/version.c

index 5b6a44a18c09da0766e946de57085ef77df34531..cb58f24aded04d1a74232ef27208ee5571442327 100644 (file)
@@ -6908,7 +6908,7 @@ fix_help_buffer(void)
                                    continue;
                                e1 = vim_strrchr(t1, '.');
                                e2 = vim_strrchr(gettail(f2), '.');
-                               if (e1 == NUL || e2 == NUL)
+                               if (e1 == NULL || e2 == NULL)
                                    continue;
                                if (fnamecmp(e1, ".txt") != 0
                                    && fnamecmp(e1, fname + 4) != 0)
@@ -8205,7 +8205,7 @@ set_context_in_sign_cmd(expand_T *xp, char_u *arg)
     /* :sign define {name} {args}... {last}=
      *                              |     |
      *                           last     p */
-    if (p == NUL)
+    if (p == NULL)
     {
        /* Expand last argument name (before equal sign). */
        xp->xp_pattern = last;
index 0132df67d01b2a2b727bde68aafd126aaed3b871..36d47aa99d9525331abbb27eb47c20989b8c70db 100644 (file)
@@ -861,7 +861,7 @@ json_decode_item(js_read_T *reader, typval_T *res, int options)
            break;
     }
 
-    if (res != NUL)
+    if (res != NULL)
     {
        res->v_type = VAR_SPECIAL;
        res->vval.v_number = VVAL_NONE;
index b15752024a9b60d38c34415e47c2b6acfdbc5010..d25b91fde7988781c68aeaaef302c9dabeda3925 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    46,
 /**/
     45,
 /**/