]>
Commit | Line | Data |
---|---|---|
478508cd ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.133 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.2.133 | |
11 | Problem: ":diffoff!" changes settings in windows not in diff mode. | |
12 | Solution: Only change settings in other windows when 'diff' is set, always | |
13 | do it for the current window. (Lech Lorens) | |
14 | Files: src/diff.c | |
15 | ||
16 | ||
17 | *** ../vim-7.2.132/src/diff.c Thu Jan 22 20:48:07 2009 | |
18 | --- src/diff.c Fri Mar 6 04:17:41 2009 | |
19 | *************** | |
20 | *** 1153,1159 **** | |
21 | ||
22 | for (wp = firstwin; wp != NULL; wp = wp->w_next) | |
23 | { | |
24 | ! if (wp == curwin || eap->forceit) | |
25 | { | |
26 | /* Set 'diff', 'scrollbind' off and 'wrap' on. */ | |
27 | wp->w_p_diff = FALSE; | |
28 | --- 1153,1159 ---- | |
29 | ||
30 | for (wp = firstwin; wp != NULL; wp = wp->w_next) | |
31 | { | |
32 | ! if (wp == curwin || (eap->forceit && wp->w_p_diff)) | |
33 | { | |
34 | /* Set 'diff', 'scrollbind' off and 'wrap' on. */ | |
35 | wp->w_p_diff = FALSE; | |
36 | *** ../vim-7.2.132/src/version.c Thu Mar 5 03:13:51 2009 | |
37 | --- src/version.c Wed Mar 11 12:45:10 2009 | |
38 | *************** | |
39 | *** 678,679 **** | |
40 | --- 678,681 ---- | |
41 | { /* Add new patch number below this line */ | |
42 | + /**/ | |
43 | + 133, | |
44 | /**/ | |
45 | ||
46 | -- | |
47 | hundred-and-one symptoms of being an internet addict: | |
48 | 192. Your boss asks you to "go fer" coffee and you come up with 235 FTP sites. | |
49 | ||
50 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
51 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
52 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
53 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |