Merge pull request #1208 from war1025/dev/remove_for_all_windows

Remove FOR_ALL_WINDOWS and replace with FOR_ALL_WINDOWS_IN_TAB(curtab)
This commit is contained in:
Justin M. Keyes
2014-10-03 13:44:50 -04:00
21 changed files with 58 additions and 61 deletions

View File

@@ -6180,7 +6180,7 @@ aucmd_prepbuf (
win = curwin;
} else {
win = NULL;
FOR_ALL_WINDOWS(wp) {
FOR_ALL_WINDOWS_IN_TAB(wp, curtab) {
if (wp->w_buffer == buf) {
win = wp;
break;