comparison src/fold.c @ 840:2c885fab04e3 v7.0e06

updated for version 7.0e06
author vimboss
date Sat, 22 Apr 2006 22:33:57 +0000
parents 8bebcabccc2c
children 5044d9d784ed
comparison
equal deleted inserted replaced
839:1f3b1021f002 840:2c885fab04e3
2592 break; 2592 break;
2593 } 2593 }
2594 2594
2595 /* 2595 /*
2596 * The fold includes the line "flp->lnum" and "flp->lnum_save". 2596 * The fold includes the line "flp->lnum" and "flp->lnum_save".
2597 * Check "fp" for safety.
2597 */ 2598 */
2598 if (lvl > level) 2599 if (lvl > level && fp != NULL)
2599 { 2600 {
2600 /* 2601 /*
2601 * There is a nested fold, handle it recursively. 2602 * There is a nested fold, handle it recursively.
2602 */ 2603 */
2603 /* At least do one line (can happen when finish is TRUE). */ 2604 /* At least do one line (can happen when finish is TRUE). */