diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-12-02 15:33:21 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-12-02 15:33:21 +0100 |
commit | 4161dccada960ec7bf97e5887287d42eb9139710 (patch) | |
tree | 265f506711f1b90ee35011c96db973165c9ce73a /src/option.c | |
parent | d4ddfafc2ac07d37a8c851ceb453f8872a0840ef (diff) | |
download | vim-git-4161dccada960ec7bf97e5887287d42eb9139710.tar.gz |
updated for version 7.3.071v7.3.071
Problem: Editing a file in a window that's in diff mode resets 'diff'
but not cursor binding.
Solution: Reset cursor binding in two more places.
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/option.c b/src/option.c index 47537fa80..c8572d00a 100644 --- a/src/option.c +++ b/src/option.c @@ -9756,6 +9756,9 @@ copy_winopt(from, to) #ifdef FEAT_SCROLLBIND to->wo_scb = from->wo_scb; #endif +#ifdef FEAT_CURSORBIND + to->wo_crb = from->wo_crb; +#endif #ifdef FEAT_SPELL to->wo_spell = from->wo_spell; #endif |