Mercurial > vim
diff src/screen.c @ 15227:95678f27a704 v8.1.0623
patch 8.1.0623: iterating through window frames is repeated
commit https://github.com/vim/vim/commit/3d1491ed2394b3e92902102879bace28a5f9c201
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 22 17:07:50 2018 +0100
patch 8.1.0623: iterating through window frames is repeated
Problem: Iterating through window frames is repeated.
Solution: Define FOR_ALL_FRAMES. (Yegappan Lakshmanan)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 22 Dec 2018 17:15:05 +0100 |
parents | 9df130fd5e0d |
children | b42b47c0bb80 |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -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 */