0
0
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:
Bram Moolenaar
2019-05-04 14:05:08 +02:00
parent e5c83286bb
commit e4f5f3aa3d
2 changed files with 5 additions and 3 deletions

View File

@@ -824,10 +824,10 @@ invalid_count:
emsg(_("E179: argument required for -addr"));
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;
if (addr_type_arg != ADDR_LINES)
*argt |= (ZEROR) ;
if (*addr_type_arg != ADDR_LINES)
*argt |= ZEROR;
}
else
{

View File

@@ -767,6 +767,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1260,
/**/
1259,
/**/