diff --git a/src/eval.c b/src/eval.c index 1b1072cd80..c7cc0089d3 100644 --- a/src/eval.c +++ b/src/eval.c @@ -24762,7 +24762,7 @@ repeat: p = alloc(_MAX_PATH + 1); if (p != NULL) { - if (GetLongPathName(*fnamep, p, MAXPATHL)) + if (GetLongPathName(*fnamep, p, _MAX_PATH)) { vim_free(*bufp); *bufp = *fnamep = p; diff --git a/src/version.c b/src/version.c index 758c686355..7a86692d7c 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 522, /**/ 521, /**/