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:
@@ -3239,8 +3239,8 @@ foldlevelMarker(flp)
|
|||||||
flp->lvl = n;
|
flp->lvl = n;
|
||||||
flp->lvl_next = n - 1;
|
flp->lvl_next = n - 1;
|
||||||
/* never start a fold with an end marker */
|
/* never start a fold with an end marker */
|
||||||
if (flp->lvl_next > flp->lvl)
|
if (flp->lvl_next > start_lvl)
|
||||||
flp->lvl_next = flp->lvl;
|
flp->lvl_next = start_lvl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@@ -681,6 +681,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
340,
|
||||||
/**/
|
/**/
|
||||||
339,
|
339,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user