Correct max numbers of args for some functions

Closes #3650.
This commit is contained in:
Marco Hinz 2016-02-29 17:25:51 +01:00
parent 2ee37cc285
commit e76bc505e9

View File

@ -7360,7 +7360,7 @@ static struct fst {
{ "pathshorten", 1, 1, f_pathshorten },
{ "pow", 2, 2, f_pow },
{ "prevnonblank", 1, 1, f_prevnonblank },
{ "printf", 2, 19, f_printf },
{ "printf", 2, MAX_FUNC_ARGS, f_printf },
{ "pumvisible", 0, 0, f_pumvisible },
{ "py3eval", 1, 1, f_py3eval },
{ "pyeval", 1, 1, f_pyeval },
@ -7374,8 +7374,8 @@ static struct fst {
{ "resolve", 1, 1, f_resolve },
{ "reverse", 1, 1, f_reverse },
{ "round", 1, 1, f_round },
{ "rpcnotify", 2, 64, f_rpcnotify },
{ "rpcrequest", 2, 64, f_rpcrequest },
{ "rpcnotify", 2, MAX_FUNC_ARGS, f_rpcnotify },
{ "rpcrequest", 2, MAX_FUNC_ARGS, f_rpcrequest },
{ "rpcstart", 1, 2, f_rpcstart },
{ "rpcstop", 1, 1, f_rpcstop },
{ "screenattr", 2, 2, f_screenattr },