summaryrefslogtreecommitdiff
path: root/src/fold.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-02-24 14:34:19 +0100
committerBram Moolenaar <Bram@vim.org>2010-02-24 14:34:19 +0100
commitf4d7f944baf3e6aaf8a17e9b6fae54e96d121be5 (patch)
tree0aef5f7b9ec4885df7d45d58c312236111752e0d /src/fold.c
parent54c1b4965b6072352d84c41fb4101e8a2214cc6b (diff)
downloadvim-git-f4d7f944baf3e6aaf8a17e9b6fae54e96d121be5.tar.gz
updated for version 7.2.370v7.2.370
Problem: A redraw may cause folds to be closed. Solution: Revert part of the previous patch. Add a test. (Lech Lorens)
Diffstat (limited to 'src/fold.c')
-rw-r--r--src/fold.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/fold.c b/src/fold.c
index ff1139dcb..a23a35c2a 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -854,12 +854,6 @@ foldUpdate(wp, top, bot)
&& fp->fd_top < bot)
{
fp->fd_small = MAYBE;
-
- /* Not sure if this is the right place to reset fd_flags (suggested by
- * Lech Lorens). */
- if (wp->w_foldinvalid)
- fp->fd_flags = FD_LEVEL;
-
++fp;
}