]>
Commit | Line | Data |
---|---|---|
05649561 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.216 | |
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.216 (after 6.2.206) | |
11 | Problem: Multi-byte characters stil cannot be used as hotkeys in a console | |
12 | dialog. (Mattias Erkisson) | |
13 | Solution: Make get_keystroke() handle multi-byte characters. | |
14 | Files: src/misc1.c | |
15 | ||
16 | ||
17 | *** ../vim-6.2.215/src/misc1.c Sun Jan 18 20:58:01 2004 | |
18 | --- src/misc1.c Wed Jan 28 13:54:06 2004 | |
19 | *************** | |
20 | *** 2832,2837 **** | |
21 | --- 2832,2846 ---- | |
22 | continue; | |
23 | } | |
24 | } | |
25 | + #ifdef FEAT_MBYTE | |
26 | + if (has_mbyte) | |
27 | + { | |
28 | + if (MB_BYTE2LEN(n) > len) | |
29 | + continue; /* more bytes to get */ | |
30 | + buf[len >= CBUFLEN ? CBUFLEN - 1 : len] = NUL; | |
31 | + n = (*mb_ptr2char)(buf); | |
32 | + } | |
33 | + #endif | |
34 | #ifdef UNIX | |
35 | if (n == intr_char) | |
36 | n = ESC; | |
37 | *** ../vim-6.2.215/src/version.c Fri Jan 30 21:03:16 2004 | |
38 | --- src/version.c Sun Feb 1 16:37:31 2004 | |
39 | *************** | |
40 | *** 639,640 **** | |
41 | --- 639,642 ---- | |
42 | { /* Add new patch number below this line */ | |
43 | + /**/ | |
44 | + 216, | |
45 | /**/ | |
46 | ||
47 | -- | |
48 | hundred-and-one symptoms of being an internet addict: | |
49 | 6. You refuse to go to a vacation spot with no electricity and no phone lines. | |
50 | ||
51 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
52 | /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
53 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
54 | \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |