diff options
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r-- | src/nvim/window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index 8e572b7986..60fe0ade8e 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -3447,20 +3447,20 @@ static frame_T *win_altframe(win_T *win, tabpage_T *tp) // By default the next window will get the space that was abandoned by this // window frame_T *target_fr = frp->fr_next; - frame_T *other_fr = frp->fr_prev; + frame_T *other_fr = frp->fr_prev; // If this is part of a column of windows and 'splitbelow' is true then the // previous window will get the space. if (frp->fr_parent != NULL && frp->fr_parent->fr_layout == FR_COL && p_sb) { target_fr = frp->fr_prev; - other_fr = frp->fr_next; + other_fr = frp->fr_next; } // If this is part of a row of windows, and 'splitright' is true then the // previous window will get the space. if (frp->fr_parent != NULL && frp->fr_parent->fr_layout == FR_ROW && p_spr) { target_fr = frp->fr_prev; - other_fr = frp->fr_next; + other_fr = frp->fr_next; } // If 'wfh' or 'wfw' is set for the target and not for the alternate |