# HG changeset patch # User Bram Moolenaar # Date 1286971535 -7200 # Node ID 8aa94f8080bdeb8908de30bbcf62945dabba1aa3 # Parent 10ce04af8c5b26e55cd2157408883d9ed79b9a3d 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) diff --git a/src/option.c b/src/option.c --- 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 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 22, +/**/ 21, /**/ 20,