]>
Commit | Line | Data |
---|---|---|
8bb52fd3 ER |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.600 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.600 | |
11 | Problem: <f-args> is not expanded properly with DBCS encoding. | |
12 | Solution: Skip over character instead of byte. (Yukihiro Nakadaira) | |
13 | Files: src/ex_docmd.c | |
14 | ||
15 | ||
16 | *** ../vim-7.3.599/src/ex_docmd.c 2012-07-06 18:27:34.000000000 +0200 | |
17 | --- src/ex_docmd.c 2012-07-10 19:20:10.000000000 +0200 | |
18 | *************** | |
19 | *** 5845,5852 **** | |
20 | --- 5845,5858 ---- | |
21 | } | |
22 | else | |
23 | { | |
24 | + #ifdef FEAT_MBYTE | |
25 | + int charlen = (*mb_ptr2len)(p); | |
26 | + len += charlen; | |
27 | + p += charlen; | |
28 | + #else | |
29 | ++len; | |
30 | ++p; | |
31 | + #endif | |
32 | } | |
33 | } | |
34 | ||
35 | *************** | |
36 | *** 5889,5895 **** | |
37 | } | |
38 | else | |
39 | { | |
40 | ! *q++ = *p++; | |
41 | } | |
42 | } | |
43 | *q++ = '"'; | |
44 | --- 5895,5901 ---- | |
45 | } | |
46 | else | |
47 | { | |
48 | ! MB_COPY_CHAR(p, q); | |
49 | } | |
50 | } | |
51 | *q++ = '"'; | |
52 | *** ../vim-7.3.599/src/version.c 2012-07-10 18:31:49.000000000 +0200 | |
53 | --- src/version.c 2012-07-10 19:21:29.000000000 +0200 | |
54 | *************** | |
55 | *** 716,717 **** | |
56 | --- 716,719 ---- | |
57 | { /* Add new patch number below this line */ | |
58 | + /**/ | |
59 | + 600, | |
60 | /**/ | |
61 | ||
62 | -- | |
63 | In a world without walls and borders, who needs windows and gates? | |
64 | ||
65 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
66 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
67 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
68 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |