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_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
|
||||
|
Reference in New Issue
Block a user