comparison src/window.c @ 21020:6c634e63989c v8.2.1061

patch 8.2.1061: insufficient testing for src/window.c Commit: https://github.com/vim/vim/commit/5d3c9f8c2a0fc29ba4ac8e0f052378b64d9e3dd3 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 26 20:41:39 2020 +0200 patch 8.2.1061: insufficient testing for src/window.c Problem: Insufficient testing for src/window.c. Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/6345)
author Bram Moolenaar <Bram@vim.org>
date Fri, 26 Jun 2020 20:45:08 +0200
parents 0738c44504cb
children 22583b9d4efd
comparison
equal deleted inserted replaced
21019:f5dae5cbcdec 21020:6c634e63989c
1808 { 1808 {
1809 iemsg("INTERNAL: trying to move a window into another frame"); 1809 iemsg("INTERNAL: trying to move a window into another frame");
1810 return; 1810 return;
1811 } 1811 }
1812 1812
1813 // may need move the status line/vertical separator of the last window 1813 // may need to move the status line/vertical separator of the last
1814 // 1814 // window
1815 if (win1 == lastwin) 1815 if (win1 == lastwin)
1816 { 1816 {
1817 height = win1->w_prev->w_status_height; 1817 height = win1->w_prev->w_status_height;
1818 win1->w_prev->w_status_height = win1->w_status_height; 1818 win1->w_prev->w_status_height = win1->w_status_height;
1819 win1->w_status_height = height; 1819 win1->w_status_height = height;