]>
Commit | Line | Data |
---|---|---|
d8621708 | 1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.027 | |
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.027 | |
11 | Problem: Warning for uninitialized variable. | |
12 | Solution: Set mb_l to one when not using multi-byte characters. | |
13 | Files: src/message.c | |
14 | ||
15 | ||
16 | *** ../vim-6.2.026/src/message.c Thu May 29 22:50:31 2003 | |
17 | --- src/message.c Wed Jun 18 17:30:38 2003 | |
18 | *************** | |
19 | *** 1184,1189 **** | |
20 | --- 1184,1191 ---- | |
21 | mb_l = utfc_ptr2len_check_len(str, len + 1); | |
22 | else if (has_mbyte) | |
23 | mb_l = (*mb_ptr2len_check)(str); | |
24 | + else | |
25 | + mb_l = 1; | |
26 | if (has_mbyte && mb_l > 1) | |
27 | { | |
28 | c = (*mb_ptr2char)(str); | |
29 | *** ../vim-6.2.026/src/version.c Thu Jul 24 21:45:33 2003 | |
30 | --- src/version.c Thu Jul 24 21:46:58 2003 | |
31 | *************** | |
32 | *** 632,633 **** | |
33 | --- 632,635 ---- | |
34 | { /* Add new patch number below this line */ | |
35 | + /**/ | |
36 | + 27, | |
37 | /**/ | |
38 | ||
39 | -- | |
40 | We apologise again for the fault in the subtitles. Those responsible for | |
41 | sacking the people who have just been sacked have been sacked. | |
42 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
43 | ||
44 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
45 | /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ | |
46 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
47 | \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |