4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Gcc warning for condition that can never be true. (James Vega)
12 Solution: Use start_lvl instead flp->lvl.
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
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;
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;
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
42 { /* Add new patch number below this line */
48 Would you care for a drink? I mean, if it were, like,
49 disabled and you had to look after it?
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 ///