]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.340
- new
[packages/vim.git] / 7.2.340
CommitLineData
907f7fb0
ER
1To: vim-dev@vim.org
2Subject: Patch 7.2.340
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.340
11Problem: Gcc warning for condition that can never be true. (James Vega)
12Solution: Use start_lvl instead flp->lvl.
13Files: src/fold.c
14
15
16*** ../vim-7.2.339/src/fold.c 2009-11-03 18:04:26.000000000 +0100
17--- src/fold.c 2010-01-19 16:45:13.000000000 +0100
18***************
19*** 3239,3246 ****
20 flp->lvl = n;
21 flp->lvl_next = n - 1;
22 /* never start a fold with an end marker */
23! if (flp->lvl_next > flp->lvl)
24! flp->lvl_next = flp->lvl;
25 }
26 }
27 else
28--- 3239,3246 ----
29 flp->lvl = n;
30 flp->lvl_next = n - 1;
31 /* never start a fold with an end marker */
32! if (flp->lvl_next > start_lvl)
33! flp->lvl_next = start_lvl;
34 }
35 }
36 else
37*** ../vim-7.2.339/src/version.c 2010-01-19 16:31:10.000000000 +0100
38--- src/version.c 2010-01-19 17:23:40.000000000 +0100
39***************
40*** 683,684 ****
41--- 683,686 ----
42 { /* Add new patch number below this line */
43+ /**/
44+ 340,
45 /**/
46
47--
48Would you care for a drink? I mean, if it were, like,
49disabled and you had to look after it?
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 ///
This page took 0.13918 seconds and 4 git commands to generate.