0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

updated for version 7.2.340

Problem:    Gcc warning for condition that can never be true. (James Vega)
Solution:   Use start_lvl instead flp->lvl.
This commit is contained in:
Bram Moolenaar
2010-01-19 17:24:25 +01:00
parent c4e4198730
commit 3ee0229f64
2 changed files with 4 additions and 2 deletions

View File

@@ -3239,8 +3239,8 @@ foldlevelMarker(flp)
flp->lvl = n;
flp->lvl_next = n - 1;
/* never start a fold with an end marker */
if (flp->lvl_next > flp->lvl)
flp->lvl_next = flp->lvl;
if (flp->lvl_next > start_lvl)
flp->lvl_next = start_lvl;
}
}
else

View File

@@ -681,6 +681,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
340,
/**/
339,
/**/