Replace FOR_ALL_WINDOWS with FOR_ALL_WINDOWS_IN_TAB(curtab)

This commit is contained in:
Wayne Rowcliffe
2014-09-19 23:28:50 -05:00
parent bd1ecad4f1
commit 9b6f192693
21 changed files with 56 additions and 58 deletions

View File

@@ -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) {