]>
Commit | Line | Data |
---|---|---|
4ff12b6a ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.252 | |
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.2.252 | |
11 | Problem: When using a multi-byte 'enc' the 'iskeyword' option cannot | |
12 | contain characters above 128. | |
13 | Solution: Use mb_ptr2char_adv(). | |
14 | Files: src/charset.c | |
15 | ||
16 | ||
17 | *** ../vim-7.2.251/src/charset.c 2009-05-14 22:19:19.000000000 +0200 | |
18 | --- src/charset.c 2009-09-09 21:11:46.000000000 +0200 | |
19 | *************** | |
20 | *** 174,179 **** | |
21 | --- 174,184 ---- | |
22 | if (VIM_ISDIGIT(*p)) | |
23 | c = getdigits(&p); | |
24 | else | |
25 | + #ifdef FEAT_MBYTE | |
26 | + if (has_mbyte) | |
27 | + c = mb_ptr2char_adv(&p); | |
28 | + else | |
29 | + #endif | |
30 | c = *p++; | |
31 | c2 = -1; | |
32 | if (*p == '-' && p[1] != NUL) | |
33 | *** ../vim-7.2.251/src/version.c 2009-09-11 13:44:33.000000000 +0200 | |
34 | --- src/version.c 2009-09-11 14:01:48.000000000 +0200 | |
35 | *************** | |
36 | *** 678,679 **** | |
37 | --- 678,681 ---- | |
38 | { /* Add new patch number below this line */ | |
39 | + /**/ | |
40 | + 252, | |
41 | /**/ | |
42 | ||
43 | -- | |
44 | hundred-and-one symptoms of being an internet addict: | |
45 | 226. You sit down at the computer right after dinner and your spouse | |
46 | says "See you in the morning." | |
47 | ||
48 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
49 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
50 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
51 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |