From d5784f9fc4e163f0d28f96b5bb45423a5d5a719b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 13 Oct 2010 14:05:35 +0200 Subject: updated for version 7.3.022 Problem: When opening a new window the 'spellcapcheck' option is cleared. Solution: Copy the correct option value. (Christian Brabandt) --- src/option.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/option.c b/src/option.c index b137fa453..47537fa80 100644 --- a/src/option.c +++ b/src/option.c @@ -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); diff --git a/src/version.c b/src/version.c index 46e278d53..9db3fce9f 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 22, /**/ 21, /**/ -- cgit v1.2.1