mirror of
https://github.com/vim/vim.git
synced 2025-07-25 10:54:51 -04:00
updated for version 7.4.540
Problem: Cannot build with tiny and small features. (Taro Muraoka) Solution: Add #ifdef around CMD_USER.
This commit is contained in:
parent
4d84d9325f
commit
f8a447c6dc
@ -2129,7 +2129,11 @@ do_one_cmd(cmdlinep, sourcing,
|
||||
* is equal to the lower.
|
||||
*/
|
||||
|
||||
if (ea.cmdidx != CMD_USER && ea.cmdidx != CMD_SIZE)
|
||||
if (ea.cmdidx != CMD_SIZE
|
||||
#ifdef FEAT_USR_CMDS
|
||||
&& ea.cmdidx != CMD_USER
|
||||
#endif
|
||||
)
|
||||
ea.addr_type = cmdnames[(int)ea.cmdidx].cmd_addr_type;
|
||||
else
|
||||
ea.addr_type = ADDR_LINES;
|
||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
540,
|
||||
/**/
|
||||
539,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user