]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.267
- new
[packages/vim.git] / 7.2.267
CommitLineData
0b93e182
ER
1To: vim-dev@vim.org
2Subject: Patch 7.2.267
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.2.267
11Problem: Crash for narrow window and double-width character.
12Solution: Check for zero width. (Taro Muraoka)
13Files: src/charset.c
14
15
16*** ../vim-7.2.266/src/charset.c 2009-09-11 14:02:25.000000000 +0200
17--- src/charset.c 2009-10-07 16:17:27.000000000 +0200
18***************
19*** 1218,1223 ****
20--- 1218,1225 ----
21 if ((int)vcol == width1 - 1)
22 return TRUE;
23 width2 = width1 + win_col_off2(wp);
24+ if (width2 <= 0)
25+ return FALSE;
26 return ((vcol - width1) % width2 == width2 - 1);
27 }
28 #endif /* FEAT_MBYTE */
29*** ../vim-7.2.266/src/version.c 2009-09-30 15:15:33.000000000 +0200
30--- src/version.c 2009-10-07 16:19:05.000000000 +0200
31***************
32*** 678,679 ****
33--- 678,681 ----
34 { /* Add new patch number below this line */
35+ /**/
36+ 267,
37 /**/
38
39--
40You got to work at a mill? Lucky! I got sent back to work in the
41acid-mines for my daily crust of stale bread... which not even the
42birds would eat.
43
44 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
45/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
46\\\ download, build and distribute -- http://www.A-A-P.org ///
47 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.039292 seconds and 4 git commands to generate.