diff --git a/src/fileio.c b/src/fileio.c index bbe97c9366..d68adec84e 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -8235,7 +8235,7 @@ ex_doautoall(eap) */ for (buf = firstbuf; buf != NULL; buf = buf->b_next) { - if (curbuf->b_ml.ml_mfp != NULL) + if (buf->b_ml.ml_mfp != NULL) { /* find a window for this buffer and save some values */ aucmd_prepbuf(&aco, buf); diff --git a/src/version.c b/src/version.c index 0e2c9ed109..11abe51aae 100644 --- a/src/version.c +++ b/src/version.c @@ -676,6 +676,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 17, /**/ 16, /**/