]>
Commit | Line | Data |
---|---|---|
a328bbc4 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.0.053 | |
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.053 | |
11 | Problem: Shortening a directory name may fail when there are multi-byte | |
12 | characters. | |
13 | Solution: Copy the correct bytes. (Titov Anatoly) | |
14 | Files: src/misc1.c | |
15 | ||
16 | ||
17 | *** ../vim-7.0.052/src/misc1.c Sun Apr 30 20:49:14 2006 | |
18 | --- src/misc1.c Tue Aug 8 11:23:45 2006 | |
19 | *************** | |
20 | *** 4492,4498 **** | |
21 | int l = mb_ptr2len(s); | |
22 | ||
23 | while (--l > 0) | |
24 | ! *d++ = *s++; | |
25 | } | |
26 | # endif | |
27 | } | |
28 | --- 4492,4498 ---- | |
29 | int l = mb_ptr2len(s); | |
30 | ||
31 | while (--l > 0) | |
32 | ! *d++ = *++s; | |
33 | } | |
34 | # endif | |
35 | } | |
36 | *** ../vim-7.0.052/src/version.c Tue Aug 15 21:42:18 2006 | |
37 | --- src/version.c Tue Aug 15 22:23:44 2006 | |
38 | *************** | |
39 | *** 668,669 **** | |
40 | --- 668,671 ---- | |
41 | { /* Add new patch number below this line */ | |
42 | + /**/ | |
43 | + 53, | |
44 | /**/ | |
45 | ||
46 | -- | |
47 | hundred-and-one symptoms of being an internet addict: | |
48 | 150. You find yourself counting emoticons to get to sleep. | |
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 /// |