mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
updated for version 7.0e06
This commit is contained in:
@@ -2594,8 +2594,9 @@ foldUpdateIEMSRecurse(gap, level, startlnum, flp, getlevel, bot, topflags)
|
||||
|
||||
/*
|
||||
* The fold includes the line "flp->lnum" and "flp->lnum_save".
|
||||
* Check "fp" for safety.
|
||||
*/
|
||||
if (lvl > level)
|
||||
if (lvl > level && fp != NULL)
|
||||
{
|
||||
/*
|
||||
* There is a nested fold, handle it recursively.
|
||||
|
Reference in New Issue
Block a user