]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.014
- updated to 7.2.102
[packages/vim.git] / 7.2.014
CommitLineData
b02c59fe
ER
1To: vim-dev@vim.org
2Subject: Patch 7.2.014
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.2.014
11Problem: synstack() doesn't work in an emptly line.
12Solution: Accept column zero as a valid position.
13Files: src/eval.c
14
15
16*** ../vim-7.2.013/src/eval.c Sun Sep 7 13:54:31 2008
17--- src/eval.c Sun Sep 7 13:50:38 2008
18***************
19*** 16667,16673 ****
20 col = get_tv_number(&argvars[1]) - 1; /* -1 on type error */
21
22 if (lnum >= 1 && lnum <= curbuf->b_ml.ml_line_count
23! && col >= 0 && col < (long)STRLEN(ml_get(lnum))
24 && rettv_list_alloc(rettv) != FAIL)
25 {
26 (void)syn_get_id(curwin, lnum, (colnr_T)col, FALSE, NULL, TRUE);
27--- 16667,16673 ----
28 col = get_tv_number(&argvars[1]) - 1; /* -1 on type error */
29
30 if (lnum >= 1 && lnum <= curbuf->b_ml.ml_line_count
31! && col >= 0 && (col == 0 || col < (long)STRLEN(ml_get(lnum)))
32 && rettv_list_alloc(rettv) != FAIL)
33 {
34 (void)syn_get_id(curwin, lnum, (colnr_T)col, FALSE, NULL, TRUE);
35*** ../vim-7.2.013/src/version.c Sun Sep 7 21:47:51 2008
36--- src/version.c Wed Sep 10 15:36:52 2008
37***************
38*** 678,679 ****
39--- 678,681 ----
40 { /* Add new patch number below this line */
41+ /**/
42+ 14,
43 /**/
44
45--
46Everybody lies, but it doesn't matter since nobody listens.
47 -- Lieberman's Law
48
49 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
50/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
51\\\ download, build and distribute -- http://www.A-A-P.org ///
52 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.029017 seconds and 4 git commands to generate.