Skip to content

Commit

Permalink
Fix usercmd
Browse files Browse the repository at this point in the history
* Add missing `*` to `addr_type_arg`. Compared different types.
* Remove needless spaces and parentheses.
  • Loading branch information
k-takata committed May 3, 2019
1 parent e5c8328 commit 8c75e76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/usercmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -824,10 +824,10 @@ uc_scan_attr(
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
{
Expand Down

0 comments on commit 8c75e76

Please sign in to comment.