From fa6d5afd8459cfcbed2d91e0280d6f7fb9fcdb18 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 14 Oct 2007 13:33:20 +0000 Subject: updated for version 7.1-139 --- src/fold.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/fold.c') diff --git a/src/fold.c b/src/fold.c index 07b074863..5e67dd2e6 100644 --- a/src/fold.c +++ b/src/fold.c @@ -858,7 +858,14 @@ foldUpdate(wp, top, bot) || foldmethodIsDiff(wp) #endif || foldmethodIsSyntax(wp)) + { + int save_got_int = got_int; + + /* reset got_int here, otherwise it won't work */ + got_int = FALSE; foldUpdateIEMS(wp, top, bot); + got_int |= save_got_int; + } } /* foldUpdateAll() {{{2 */ -- cgit v1.2.1