summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-10-13 14:05:35 +0200
committerBram Moolenaar <Bram@vim.org>2010-10-13 14:05:35 +0200
commitd5784f9fc4e163f0d28f96b5bb45423a5d5a719b (patch)
tree6c03da3983e12dec0ff33a21016891491a0a3398 /src/option.c
parent423f97277ded9feef2bb3af660d414d764bc4fff (diff)
downloadvim-git-d5784f9fc4e163f0d28f96b5bb45423a5d5a719b.tar.gz
updated for version 7.3.022v7.3.022
Problem: When opening a new window the 'spellcapcheck' option is cleared. Solution: Copy the correct option value. (Christian Brabandt)
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c2
1 files changed, 1 insertions, 1 deletions
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);