mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.1.1260: comparing with pointer instead of value
Problem: Comparing with pointer instead of value. Solution: Add a "*". (Ken Takata, closes #4336)
This commit is contained in:
@@ -824,10 +824,10 @@ invalid_count:
|
|||||||
emsg(_("E179: argument required for -addr"));
|
emsg(_("E179: argument required for -addr"));
|
||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
if (parse_addr_type_arg(val, (int)vallen, addr_type_arg) == FAIL)
|
if (parse_addr_type_arg(val, (int)vallen, addr_type_arg) == FAIL)
|
||||||
return FAIL;
|
return FAIL;
|
||||||
if (addr_type_arg != ADDR_LINES)
|
if (*addr_type_arg != ADDR_LINES)
|
||||||
*argt |= (ZEROR) ;
|
*argt |= ZEROR;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@@ -767,6 +767,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 */
|
||||||
|
/**/
|
||||||
|
1260,
|
||||||
/**/
|
/**/
|
||||||
1259,
|
1259,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user