]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-004 v7.1.004
authorBram Moolenaar <Bram@vim.org>
Tue, 19 Jun 2007 09:51:25 +0000 (09:51 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 19 Jun 2007 09:51:25 +0000 (09:51 +0000)
src/ex_cmds.c
src/version.c

index 85d8e6883421078658a4013f97739d64d2427ac9..9c9f856507faeb86cc9c8ae6d6e3faf30202a502 100644 (file)
@@ -3367,7 +3367,7 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags)
                 * was in this window (or another window).  If not used
                 * before, reset the local window options to the global
                 * values.  Also restores old folding stuff. */
-               get_winopts(buf);
+               get_winopts(curbuf);
 #ifdef FEAT_SPELL
                did_get_winopts = TRUE;
 #endif
@@ -3649,8 +3649,8 @@ do_ecmd(fnum, ffname, sfname, eap, newlnum, flags)
 #ifdef FEAT_SPELL
     /* If the window options were changed may need to set the spell language.
      * Can only do this after the buffer has been properly setup. */
-    if (did_get_winopts && curwin->w_p_spell && *buf->b_p_spl != NUL)
-       did_set_spelllang(buf);
+    if (did_get_winopts && curwin->w_p_spell && *curbuf->b_p_spl != NUL)
+       did_set_spelllang(curbuf);
 #endif
 
     if (command == NULL)
index 68614db71978174bae7246b19cb81ca7e91b5c72..f11baf2b3f6a0877b1a931a5ebcf856952049603 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4,
 /**/
     3,
 /**/