summaryrefslogtreecommitdiffstats
path: root/src/quickfix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index 625d19d0c3..8bb2bbe760 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -1775,8 +1775,10 @@ ex_copen(eap)
else if (buf != curbuf)
set_curbuf(buf, DOBUF_GOTO);
+#ifdef FEAT_VERTSPLIT
/* Only set the height when there is no window to the side. */
if (curwin->w_width == Columns)
+#endif
win_setheight(height);
curwin->w_p_wfh = TRUE; /* set 'winfixheight' */
if (win_valid(win))