summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-30 19:49:06 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-30 19:49:06 +0100
commit9e1e358d376284c3aaf3a9f1e568bca297405f62 (patch)
tree9ab21d3f00befb0f00dc2c52a532318a2f5c41bd /src/window.c
parent7559dcef6cfd0ba13271088fff51b8979fee950b (diff)
downloadvim-git-9e1e358d376284c3aaf3a9f1e568bca297405f62.tar.gz
patch 8.1.1088: height of quickfix window not retained with vertical splitv8.1.1088
Problem: Height of quickfix window not retained with vertical split. Solution: Use frame_fixed_height() and frame_fixed_width(). (Hongbo Liu, closes #4013, closes #2998)
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/window.c b/src/window.c
index 6c9c7051b..b905fbf39 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2677,10 +2677,10 @@ winframe_remove(
{
if (frp != NULL)
{
- if (frp->fr_win != NULL && !frp->fr_win->w_p_wfh)
+ if (!frame_fixed_height(frp))
{
frp2 = frp;
- wp = frp->fr_win;
+ wp = frame2win(frp2);
break;
}
frp = frp->fr_prev;
@@ -2714,10 +2714,10 @@ winframe_remove(
{
if (frp != NULL)
{
- if (frp->fr_win != NULL && !frp->fr_win->w_p_wfw)
+ if (!frame_fixed_width(frp))
{
frp2 = frp;
- wp = frp->fr_win;
+ wp = frame2win(frp2);
break;
}
frp = frp->fr_prev;