aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/spell.c
diff options
context:
space:
mode:
authorWayne Rowcliffe <war1025@gmail.com>2014-09-19 23:28:50 -0500
committerWayne Rowcliffe <war1025@gmail.com>2014-09-24 19:00:50 -0500
commit9b6f192693b02e2e5547baf7885d91e61eaa7735 (patch)
treecddc921b79b25a45e624f499e843d1ab8c65214f /src/nvim/spell.c
parentbd1ecad4f13c75bd10daf0b542fdc95aaa347dc4 (diff)
downloadrneovim-9b6f192693b02e2e5547baf7885d91e61eaa7735.tar.gz
rneovim-9b6f192693b02e2e5547baf7885d91e61eaa7735.tar.bz2
rneovim-9b6f192693b02e2e5547baf7885d91e61eaa7735.zip
Replace FOR_ALL_WINDOWS with FOR_ALL_WINDOWS_IN_TAB(curtab)
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r--src/nvim/spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c
index 5e40ae7708..342f121c48 100644
--- a/src/nvim/spell.c
+++ b/src/nvim/spell.c
@@ -4162,7 +4162,7 @@ void spell_reload(void)
spell_free_all();
// Go through all buffers and handle 'spelllang'.
- FOR_ALL_WINDOWS(wp) {
+ FOR_ALL_WINDOWS_IN_TAB(wp, curtab) {
// Only load the wordlists when 'spelllang' is set and there is a
// window for this buffer in which 'spell' is set.
if (*wp->w_s->b_p_spl != NUL) {