]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-034 v7.2.034
authorBram Moolenaar <Bram@vim.org>
Wed, 12 Nov 2008 11:52:19 +0000 (11:52 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 12 Nov 2008 11:52:19 +0000 (11:52 +0000)
src/buffer.c
src/version.c

index 173a0f80c1d2153a63ccc2b37214c3454bb3dd72..7eb3d49a987194db30b474ef348d8bfd53b9b049 100644 (file)
@@ -647,6 +647,9 @@ free_buffer_stuff(buf, free_options)
     vim_free(buf->b_start_fenc);
     buf->b_start_fenc = NULL;
 #endif
+#ifdef FEAT_SPELL
+    ga_clear(&buf->b_langp);
+#endif
 }
 
 /*
@@ -1237,7 +1240,7 @@ do_buffer(action, start, dir, count, forceit)
         * "buf" if one exists */
        if ((swb_flags & SWB_USEOPEN) && buf_jump_open_win(buf))
            return OK;
-       /* If 'switchbuf' contians "usetab": jump to first window in any tab
+       /* If 'switchbuf' contains "usetab": jump to first window in any tab
         * page containing "buf" if one exists */
        if ((swb_flags & SWB_USETAB) && buf_jump_open_tab(buf))
            return OK;
@@ -3964,7 +3967,7 @@ build_stl_str_hl(wp, out, outlen, fmt, use_sandbox, fillchar, maxwidth, hltab, t
     width = vim_strsize(out);
     if (maxwidth > 0 && width > maxwidth)
     {
-       /* Result is too long, must trunctate somewhere. */
+       /* Result is too long, must truncate somewhere. */
        l = 0;
        if (itemcnt == 0)
            s = out;
index 4fd09e259494e2664e2ccbffb9f5da3a7ac8aebc..ace1c18cc2a737fef58396b8a174d87c25002fb9 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    34,
 /**/
     33,
 /**/