Mirror of the Vim source from https://github.com/vim/vim
Revision | d2612392202f9b87c122b7233b0bbc67c9edc004 (tree) |
---|---|
Time | 2007-06-19 18:51:25 |
Author | vimboss |
Commiter | vimboss |
updated for version 7.1-004
@@ -3367,7 +3367,7 @@ | ||
3367 | 3367 | * was in this window (or another window). If not used |
3368 | 3368 | * before, reset the local window options to the global |
3369 | 3369 | * values. Also restores old folding stuff. */ |
3370 | - get_winopts(buf); | |
3370 | + get_winopts(curbuf); | |
3371 | 3371 | #ifdef FEAT_SPELL |
3372 | 3372 | did_get_winopts = TRUE; |
3373 | 3373 | #endif |
@@ -3649,8 +3649,8 @@ | ||
3649 | 3649 | #ifdef FEAT_SPELL |
3650 | 3650 | /* If the window options were changed may need to set the spell language. |
3651 | 3651 | * Can only do this after the buffer has been properly setup. */ |
3652 | - if (did_get_winopts && curwin->w_p_spell && *buf->b_p_spl != NUL) | |
3653 | - did_set_spelllang(buf); | |
3652 | + if (did_get_winopts && curwin->w_p_spell && *curbuf->b_p_spl != NUL) | |
3653 | + did_set_spelllang(curbuf); | |
3654 | 3654 | #endif |
3655 | 3655 | |
3656 | 3656 | if (command == NULL) |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 4, | |
671 | +/**/ | |
670 | 672 | 3, |
671 | 673 | /**/ |
672 | 674 | 2, |