updated for version 7.1-267
diff --git a/src/fold.c b/src/fold.c
index a594644..4daaf70 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -2307,7 +2307,7 @@
 
     /* If some fold changed, need to redraw and position cursor. */
     if (fold_changed && wp->w_p_fen)
-	changed_window_setting();
+	changed_window_setting_win(wp);
 
     /* If we updated folds past "bot", need to redraw more lines.  Don't do
      * this in other situations, the changed lines will be redrawn anyway and