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:
@@ -826,8 +826,8 @@ invalid_count:
|
||||
}
|
||||
if (parse_addr_type_arg(val, (int)vallen, addr_type_arg) == FAIL)
|
||||
return FAIL;
|
||||
if (addr_type_arg != ADDR_LINES)
|
||||
*argt |= (ZEROR) ;
|
||||
if (*addr_type_arg != ADDR_LINES)
|
||||
*argt |= ZEROR;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -767,6 +767,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1260,
|
||||
/**/
|
||||
1259,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user