diff --git a/src/userfunc.c b/src/userfunc.c index 0c6f9938f0..a227031019 100644 --- a/src/userfunc.c +++ b/src/userfunc.c @@ -311,7 +311,7 @@ get_function_args( // find the end of the expression (doesn't evaluate it) any_default = TRUE; - p = skipwhite(p) + 1; + p = skipwhite(np + 1); expr = p; if (eval1(&p, &rettv, NULL) != FAIL) { diff --git a/src/version.c b/src/version.c index 1e3f9a3bdf..1f6ba8caa1 100644 --- a/src/version.c +++ b/src/version.c @@ -703,6 +703,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 377, /**/ 376, /**/