]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-284 v7.2.284
authorBram Moolenaar <Bram@vim.org>
Tue, 3 Nov 2009 17:47:12 +0000 (17:47 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 3 Nov 2009 17:47:12 +0000 (17:47 +0000)
src/misc1.c
src/version.c

index 23a1c1e4ba9109ce404d20e221d7b6454fe0b5f8..bb15d429d6739893de10b640fccde6f1fd2d5c5c 100644 (file)
@@ -2886,6 +2886,13 @@ changed_common(lnum, col, lnume, xtra)
                    }
 #endif
                }
+
+#ifdef FEAT_FOLDING
+           /* Take care of side effects for setting w_topline when folds have
+            * changed.  Esp. when the buffer was changed in another window. */
+           if (hasAnyFolding(wp))
+               set_topline(wp, wp->w_topline);
+#endif
        }
     }
 
index 83af0958b3f277fb147fee35370ec627f6b81b1f..8a71cbe39ea3e9821da285569d1bb1d9859d4e6b 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    284,
 /**/
     283,
 /**/