]>
Commit | Line | Data |
---|---|---|
142b4b8e AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.019 | |
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.0.019 | |
11 | Problem: Repeating "VjA789" may cause a crash. (James Vega) | |
12 | Solution: Check the cursor column after moving it to another line. | |
13 | Files: src/ops.c | |
14 | ||
15 | ||
16 | *** ../vim-7.0.018/src/ops.c Sun Apr 30 20:45:12 2006 | |
17 | --- src/ops.c Tue Jun 20 12:49:46 2006 | |
18 | *************** | |
19 | *** 2413,2418 **** | |
20 | --- 2413,2419 ---- | |
21 | else | |
22 | { | |
23 | curwin->w_cursor = oap->end; | |
24 | + check_cursor_col(); | |
25 | ||
26 | /* Works just like an 'i'nsert on the next character. */ | |
27 | if (!lineempty(curwin->w_cursor.lnum) | |
28 | *** ../vim-7.0.018/src/version.c Mon Jun 19 10:56:20 2006 | |
29 | --- src/version.c Tue Jun 20 12:55:10 2006 | |
30 | *************** | |
31 | *** 668,669 **** | |
32 | --- 668,671 ---- | |
33 | { /* Add new patch number below this line */ | |
34 | + /**/ | |
35 | + 19, | |
36 | /**/ | |
37 | ||
38 | -- | |
39 | Two cows are standing together in a field. One asks the other: | |
40 | "So what do you think about this Mad Cow Disease?" | |
41 | The other replies: "That doesn't concern me. I'm a helicopter." | |
42 | ||
43 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
44 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
45 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
46 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |