]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.022 v7.3.022
authorBram Moolenaar <Bram@vim.org>
Wed, 13 Oct 2010 12:05:35 +0000 (14:05 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 13 Oct 2010 12:05:35 +0000 (14:05 +0200)
Problem:    When opening a new window the 'spellcapcheck' option is cleared.
Solution:   Copy the correct option value. (Christian Brabandt)

src/option.c
src/version.c

index b137fa45303e3548cdb97d19d3dbbd38b97991cf..47537fa808394b4fae2001aa25594c5e2424c784 100644 (file)
@@ -10011,7 +10011,7 @@ buf_copy_options(buf, flags)
            buf->b_p_smc = p_smc;
 #endif
 #ifdef FEAT_SPELL
-           buf->b_s.b_p_spc = vim_strsave(p_spf);
+           buf->b_s.b_p_spc = vim_strsave(p_spc);
            (void)compile_cap_prog(&buf->b_s);
            buf->b_s.b_p_spf = vim_strsave(p_spf);
            buf->b_s.b_p_spl = vim_strsave(p_spl);
index 46e278d53bd714ebc17a7ce38a9daff85c9c8a9d..9db3fce9f931e9f4cf7b7aa009d05c29600efd2c 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    22,
 /**/
     21,
 /**/