diff options
author | vimboss <devnull@localhost> | 2009-03-11 11:47:18 +0000 |
---|---|---|
committer | vimboss <devnull@localhost> | 2009-03-11 11:47:18 +0000 |
commit | f8bc8e934092c35f439a4dc1a9db000a05adf8fa (patch) | |
tree | 8047214c0496381f7cfece1d8510bff3a9f1f846 | |
parent | b00a66ba13599b1fe4d3b1fe42006b07eb570428 (diff) | |
download | vim-7-2-133.tar.gz |
-rw-r--r-- | src/diff.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1153,7 +1153,7 @@ ex_diffoff(eap) for (wp = firstwin; wp != NULL; wp = wp->w_next) { - if (wp == curwin || eap->forceit) + if (wp == curwin || (eap->forceit && wp->w_p_diff)) { /* Set 'diff', 'scrollbind' off and 'wrap' on. */ wp->w_p_diff = FALSE; diff --git a/src/version.c b/src/version.c index 4388cd20..bce02a7b 100644 --- a/src/version.c +++ b/src/version.c @@ -677,6 +677,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 133, +/**/ 132, /**/ 131, |