]>
Commit | Line | Data |
---|---|---|
2975f168 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.336 | |
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 6.2.336 (after 6.2.327) | |
11 | Problem: Mixup of items in an expression. | |
12 | Solution: Move "== NUL" to the right spot. | |
13 | Files: src/edit.c | |
14 | ||
15 | ||
16 | *** ../vim-6.2.335/src/edit.c Mon Mar 8 12:27:39 2004 | |
17 | --- src/edit.c Tue Mar 9 17:08:58 2004 | |
18 | *************** | |
19 | *** 4657,4663 **** | |
20 | * formatting will move it to the following word. Avoid that by | |
21 | * moving the cursor onto the space. */ | |
22 | cc = 'x'; | |
23 | ! if (curwin->w_cursor.col > 0 == NUL && gchar_cursor()) | |
24 | { | |
25 | dec_cursor(); | |
26 | cc = gchar_cursor(); | |
27 | --- 4657,4663 ---- | |
28 | * formatting will move it to the following word. Avoid that by | |
29 | * moving the cursor onto the space. */ | |
30 | cc = 'x'; | |
31 | ! if (curwin->w_cursor.col > 0 && gchar_cursor() == NUL) | |
32 | { | |
33 | dec_cursor(); | |
34 | cc = gchar_cursor(); | |
35 | *** ../vim-6.2.335/src/version.c Tue Mar 9 15:10:47 2004 | |
36 | --- src/version.c Tue Mar 9 17:12:01 2004 | |
37 | *************** | |
38 | *** 639,640 **** | |
39 | --- 639,642 ---- | |
40 | { /* Add new patch number below this line */ | |
41 | + /**/ | |
42 | + 336, | |
43 | /**/ | |
44 | ||
45 | -- | |
46 | If you had to identify, in one word, the reason why the | |
47 | human race has not achieved, and never will achieve, its | |
48 | full potential, that word would be "meetings." | |
49 | ||
50 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
51 | /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
52 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
53 | \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html /// |