]>
Commit | Line | Data |
---|---|---|
d1b4bd6a ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.404 | |
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.404 | |
11 | Problem: Pointers for composing characters are not properly initialized. | |
12 | Solution: Compute the size of the pointer, not what it points to. (Yukihiro | |
13 | Nakadaira) | |
14 | Files: src/screen.c | |
15 | ||
16 | ||
17 | *** ../vim-7.2.403/src/screen.c 2010-02-03 15:47:59.000000000 +0100 | |
18 | --- src/screen.c 2010-03-23 13:48:05.000000000 +0100 | |
19 | *************** | |
20 | *** 7536,7542 **** | |
21 | new_ScreenLines = (schar_T *)lalloc((long_u)( | |
22 | (Rows + 1) * Columns * sizeof(schar_T)), FALSE); | |
23 | #ifdef FEAT_MBYTE | |
24 | ! vim_memset(new_ScreenLinesC, 0, sizeof(u8char_T) * MAX_MCO); | |
25 | if (enc_utf8) | |
26 | { | |
27 | new_ScreenLinesUC = (u8char_T *)lalloc((long_u)( | |
28 | --- 7536,7542 ---- | |
29 | new_ScreenLines = (schar_T *)lalloc((long_u)( | |
30 | (Rows + 1) * Columns * sizeof(schar_T)), FALSE); | |
31 | #ifdef FEAT_MBYTE | |
32 | ! vim_memset(new_ScreenLinesC, 0, sizeof(u8char_T *) * MAX_MCO); | |
33 | if (enc_utf8) | |
34 | { | |
35 | new_ScreenLinesUC = (u8char_T *)lalloc((long_u)( | |
36 | *** ../vim-7.2.403/src/version.c 2010-03-19 23:08:22.000000000 +0100 | |
37 | --- src/version.c 2010-03-23 13:54:47.000000000 +0100 | |
38 | *************** | |
39 | *** 683,684 **** | |
40 | --- 683,686 ---- | |
41 | { /* Add new patch number below this line */ | |
42 | + /**/ | |
43 | + 404, | |
44 | /**/ | |
45 | ||
46 | -- | |
47 | LAUNCELOT: Isn't there a St. Aaaaarrrrrrggghhh's in Cornwall? | |
48 | ARTHUR: No, that's Saint Ives. | |
49 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
50 | ||
51 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
52 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
53 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
54 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |