forked from aniani/vim
patch 9.0.1775: Wrong comparison in vim9type.c
Problem: Wrong comparison in vim9type.c Solution: Change condition to false closes: #12047 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Johan Mattsson <39247600+mjunix@users.noreply.github.com>
This commit is contained in:
parent
92997dda78
commit
20cd8699ac
@ -695,6 +695,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 */
|
||||||
|
/**/
|
||||||
|
1775,
|
||||||
/**/
|
/**/
|
||||||
1774,
|
1774,
|
||||||
/**/
|
/**/
|
||||||
|
@ -426,7 +426,7 @@ typval2type_int(typval_T *tv, int copyID, garray_T *type_gap, int flags)
|
|||||||
if (tv->vval.v_number == VVAL_NONE)
|
if (tv->vval.v_number == VVAL_NONE)
|
||||||
return &t_none;
|
return &t_none;
|
||||||
if (tv->vval.v_number == VVAL_TRUE
|
if (tv->vval.v_number == VVAL_TRUE
|
||||||
|| tv->vval.v_number == VVAL_TRUE)
|
|| tv->vval.v_number == VVAL_FALSE)
|
||||||
return &t_bool;
|
return &t_bool;
|
||||||
return &t_unknown;
|
return &t_unknown;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user