Karsten Hopp eb17ea
To: vim-dev@vim.org
Karsten Hopp eb17ea
Subject: Patch 7.3.022
Karsten Hopp eb17ea
Fcc: outbox
Karsten Hopp eb17ea
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp eb17ea
Mime-Version: 1.0
Karsten Hopp eb17ea
Content-Type: text/plain; charset=UTF-8
Karsten Hopp eb17ea
Content-Transfer-Encoding: 8bit
Karsten Hopp eb17ea
------------
Karsten Hopp eb17ea
Karsten Hopp eb17ea
Patch 7.3.022
Karsten Hopp eb17ea
Problem:    When opening a new window the 'spellcapcheck' option is cleared.
Karsten Hopp eb17ea
Solution:   Copy the correct option value. (Christian Brabandt)
Karsten Hopp eb17ea
Files:	    src/option.c
Karsten Hopp eb17ea
Karsten Hopp eb17ea
Karsten Hopp eb17ea
*** ../vim-7.3.021/src/option.c	2010-08-15 21:57:28.000000000 +0200
Karsten Hopp eb17ea
--- src/option.c	2010-10-13 13:48:46.000000000 +0200
Karsten Hopp eb17ea
***************
Karsten Hopp eb17ea
*** 10011,10017 ****
Karsten Hopp eb17ea
  	    buf->b_p_smc = p_smc;
Karsten Hopp eb17ea
  #endif
Karsten Hopp eb17ea
  #ifdef FEAT_SPELL
Karsten Hopp eb17ea
! 	    buf->b_s.b_p_spc = vim_strsave(p_spf);
Karsten Hopp eb17ea
  	    (void)compile_cap_prog(&buf->b_s);
Karsten Hopp eb17ea
  	    buf->b_s.b_p_spf = vim_strsave(p_spf);
Karsten Hopp eb17ea
  	    buf->b_s.b_p_spl = vim_strsave(p_spl);
Karsten Hopp eb17ea
--- 10011,10017 ----
Karsten Hopp eb17ea
  	    buf->b_p_smc = p_smc;
Karsten Hopp eb17ea
  #endif
Karsten Hopp eb17ea
  #ifdef FEAT_SPELL
Karsten Hopp eb17ea
! 	    buf->b_s.b_p_spc = vim_strsave(p_spc);
Karsten Hopp eb17ea
  	    (void)compile_cap_prog(&buf->b_s);
Karsten Hopp eb17ea
  	    buf->b_s.b_p_spf = vim_strsave(p_spf);
Karsten Hopp eb17ea
  	    buf->b_s.b_p_spl = vim_strsave(p_spl);
Karsten Hopp eb17ea
*** ../vim-7.3.021/src/version.c	2010-10-10 17:08:28.000000000 +0200
Karsten Hopp eb17ea
--- src/version.c	2010-10-13 14:02:08.000000000 +0200
Karsten Hopp eb17ea
***************
Karsten Hopp eb17ea
*** 716,717 ****
Karsten Hopp eb17ea
--- 716,719 ----
Karsten Hopp eb17ea
  {   /* Add new patch number below this line */
Karsten Hopp eb17ea
+ /**/
Karsten Hopp eb17ea
+     22,
Karsten Hopp eb17ea
  /**/
Karsten Hopp eb17ea
Karsten Hopp eb17ea
-- 
Karsten Hopp eb17ea
GALAHAD:   Camelot ...
Karsten Hopp eb17ea
LAUNCELOT: Camelot ...
Karsten Hopp eb17ea
GAWAIN:    It's only a model.
Karsten Hopp eb17ea
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp eb17ea
Karsten Hopp eb17ea
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp eb17ea
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp eb17ea
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp eb17ea
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///