comparison src/quickfix.c @ 16483:393dd420a753 v8.1.1245

patch 8.1.1245: ":copen 10" sets height in full-height window commit https://github.com/vim/vim/commit/36d502225c3ec5e8b30771d58ee20171ce564b2f Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 2 20:17:40 2019 +0200 patch 8.1.1245: ":copen 10" sets height in full-height window Problem: ":copen 10" sets height in full-height window. (Daniel Hahler) Solution: Don't set the height if the quickfix window is full height. (closes #4325)
author Bram Moolenaar <Bram@vim.org>
date Thu, 02 May 2019 20:30:06 +0200
parents 4202f556aefe
children 28e3ba82d8c8
comparison
equal deleted inserted replaced
16482:7d0ded7f3e97 16483:393dd420a753
4014 if (vertsplit) 4014 if (vertsplit)
4015 { 4015 {
4016 if (sz != win->w_width) 4016 if (sz != win->w_width)
4017 win_setwidth(sz); 4017 win_setwidth(sz);
4018 } 4018 }
4019 else if (sz != win->w_height) 4019 else if (sz != win->w_height
4020 && win->w_height + win->w_status_height < cmdline_row)
4020 win_setheight(sz); 4021 win_setheight(sz);
4021 } 4022 }
4022 4023
4023 return OK; 4024 return OK;
4024 } 4025 }