diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-10-21 20:35:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-10-21 20:35:37 +0200 |
commit | 7756e7465d627ff9cd01e59625484a8c302ef853 (patch) | |
tree | 15d6f8773025a03bbf9fa90047321dda0643767b /src/ex_cmds.c | |
parent | bb09ceb95477ecc271854b3fdd8d2776eca66adf (diff) | |
download | vim-git-7756e7465d627ff9cd01e59625484a8c302ef853.tar.gz |
patch 8.0.0046v8.0.0046
Problem: Using NUL instead of NULL.
Solution: Change to NULL. (Dominique Pelle)
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 5b6a44a18..cb58f24ad 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -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; |