diff options
author | Bram Moolenaar <bram@vim.org> | 2010-10-13 14:05:35 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2010-10-13 14:05:35 +0200 |
commit | 791f57724907eaaee488aa33e6c5d690ea7ff43f (patch) | |
tree | 607a76f43fa535e5c4413dbb033812e2457d489a | |
parent | 62de2ea87f51d3e5cb6c7ff94f7b789e07251536 (diff) | |
download | vim-791f57724907eaaee488aa33e6c5d690ea7ff43f.tar.gz |
Problem: When opening a new window the 'spellcapcheck' option is cleared.
Solution: Copy the correct option value. (Christian Brabandt)
-rw-r--r-- | src/option.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c index b137fa45..47537fa8 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 46e278d5..9db3fce9 100644 --- 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, |