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
diff --git a/src/version.c b/src/version.c
index 82689be..d3bd54a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 267,
+/**/
266,
/**/
265,