diff --git a/src/diff.c b/src/diff.c index 80f4473144..49ca58af7c 100644 --- a/src/diff.c +++ b/src/diff.c @@ -1203,7 +1203,7 @@ ex_diffoff(eap) for (wp = firstwin; wp != NULL; wp = wp->w_next) { - if (wp == curwin || (eap->forceit && wp->w_p_diff)) + if (eap->forceit ? wp->w_p_diff : wp == curwin) { /* Set 'diff', 'scrollbind' off and 'wrap' on. If option values * were saved in diff_win_options() restore them. */ diff --git a/src/version.c b/src/version.c index 272940af8d..b07e26962b 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 31, /**/ 30, /**/