mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.3.437
Problem: Continue looping inside FOR_ALL_TAB_WINDOWS even when already done. Solution: Use goto instead of break. (Hirohito Higashi)
This commit is contained in:
@@ -8898,10 +8898,11 @@ aucmd_restbuf(aco)
|
||||
if (tp != curtab)
|
||||
goto_tabpage_tp(tp);
|
||||
win_goto(aucmd_win);
|
||||
break;
|
||||
goto win_found;
|
||||
}
|
||||
}
|
||||
}
|
||||
win_found:
|
||||
|
||||
/* Remove the window and frame from the tree of frames. */
|
||||
(void)winframe_remove(curwin, &dummy, NULL);
|
||||
|
Reference in New Issue
Block a user