0
0
mirror of https://github.com/vim/vim.git synced 2025-10-09 06:14:17 -04:00

patch 8.1.0623: iterating through window frames is repeated

Problem:    Iterating through window frames is repeated.
Solution:   Define FOR_ALL_FRAMES. (Yegappan Lakshmanan)
This commit is contained in:
Bram Moolenaar
2018-12-22 17:07:50 +01:00
parent 9752c72f49
commit 3d1491ed23
5 changed files with 38 additions and 39 deletions

View File

@@ -6681,7 +6681,7 @@ win_redraw_last_status(frame_T *frp)
frp->fr_win->w_redr_status = TRUE;
else if (frp->fr_layout == FR_ROW)
{
for (frp = frp->fr_child; frp != NULL; frp = frp->fr_next)
FOR_ALL_FRAMES(frp, frp->fr_child)
win_redraw_last_status(frp);
}
else /* frp->fr_layout == FR_COL */