Problem: ":diffoff!" resets options even when 'diff' is not set. (Charles
Cooper)
Solution: Only resets related options in a window where 'diff' is set.
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. */
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 31,
/**/
30,
/**/