From 9b6f192693b02e2e5547baf7885d91e61eaa7735 Mon Sep 17 00:00:00 2001 From: Wayne Rowcliffe Date: Fri, 19 Sep 2014 23:28:50 -0500 Subject: Replace FOR_ALL_WINDOWS with FOR_ALL_WINDOWS_IN_TAB(curtab) --- src/nvim/spell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/spell.c') 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) { -- cgit