summaryrefslogtreecommitdiffstats
path: root/src/change.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/change.c')
-rw-r--r--src/change.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/change.c b/src/change.c
index d1ecb60bbf..54ed684a6d 100644
--- a/src/change.c
+++ b/src/change.c
@@ -552,8 +552,9 @@ changed_common(
{
if (wp->w_buffer == curbuf)
{
+#ifdef FEAT_FOLDING
linenr_T last = lnume + xtra - 1; // last line after the change
-
+#endif
// Mark this window to be redrawn later.
if (wp->w_redr_type < VALID)
wp->w_redr_type = VALID;