mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.0.0046
Problem: Using NUL instead of NULL. Solution: Change to NULL. (Dominique Pelle)
This commit is contained in:
@@ -6908,7 +6908,7 @@ fix_help_buffer(void)
|
|||||||
continue;
|
continue;
|
||||||
e1 = vim_strrchr(t1, '.');
|
e1 = vim_strrchr(t1, '.');
|
||||||
e2 = vim_strrchr(gettail(f2), '.');
|
e2 = vim_strrchr(gettail(f2), '.');
|
||||||
if (e1 == NUL || e2 == NUL)
|
if (e1 == NULL || e2 == NULL)
|
||||||
continue;
|
continue;
|
||||||
if (fnamecmp(e1, ".txt") != 0
|
if (fnamecmp(e1, ".txt") != 0
|
||||||
&& fnamecmp(e1, fname + 4) != 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}=
|
/* :sign define {name} {args}... {last}=
|
||||||
* | |
|
* | |
|
||||||
* last p */
|
* last p */
|
||||||
if (p == NUL)
|
if (p == NULL)
|
||||||
{
|
{
|
||||||
/* Expand last argument name (before equal sign). */
|
/* Expand last argument name (before equal sign). */
|
||||||
xp->xp_pattern = last;
|
xp->xp_pattern = last;
|
||||||
|
@@ -861,7 +861,7 @@ json_decode_item(js_read_T *reader, typval_T *res, int options)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (res != NUL)
|
if (res != NULL)
|
||||||
{
|
{
|
||||||
res->v_type = VAR_SPECIAL;
|
res->v_type = VAR_SPECIAL;
|
||||||
res->vval.v_number = VVAL_NONE;
|
res->vval.v_number = VVAL_NONE;
|
||||||
|
@@ -764,6 +764,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
46,
|
||||||
/**/
|
/**/
|
||||||
45,
|
45,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user