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

@@ -826,8 +826,8 @@ invalid_count:
} }
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
{ {

View File

@@ -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,
/**/ /**/