0
0
mirror of https://github.com/vim/vim.git synced 2025-11-16 23:24:03 -05:00

patch 9.1.1462: missing change from patch v9.1.1461

Problem:  missing change from patch v9.1.1461
Solution: change wrong TPL_LCOL macro in a few more places

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2025-06-16 20:07:54 +02:00
parent 152a450d88
commit 8ae8b304ee
3 changed files with 6 additions and 4 deletions

View File

@@ -3617,7 +3617,7 @@ win_new_shellsize(void)
static int old_coloff = 0; static int old_coloff = 0;
if (old_Rows != Rows || old_Columns != COLUMNS_WITHOUT_TPL() if (old_Rows != Rows || old_Columns != COLUMNS_WITHOUT_TPL()
|| old_coloff != TPL_LCOL(NULL)) || old_coloff != TPL_LCOL())
ui_new_shellsize(); ui_new_shellsize();
if (old_Rows != Rows) if (old_Rows != Rows)
{ {
@@ -3629,10 +3629,10 @@ win_new_shellsize(void)
old_Rows = Rows; old_Rows = Rows;
shell_new_rows(); // update window sizes shell_new_rows(); // update window sizes
} }
if (old_Columns != COLUMNS_WITHOUT_TPL() || old_coloff != TPL_LCOL(NULL)) if (old_Columns != COLUMNS_WITHOUT_TPL() || old_coloff != TPL_LCOL())
{ {
old_Columns = COLUMNS_WITHOUT_TPL(); old_Columns = COLUMNS_WITHOUT_TPL();
old_coloff = TPL_LCOL(NULL); old_coloff = TPL_LCOL();
shell_new_columns(); shell_new_columns();
} }

View File

@@ -709,6 +709,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1462,
/**/ /**/
1461, 1461,
/**/ /**/

View File

@@ -5040,7 +5040,7 @@ enter_tabpage(
)) ))
shell_new_rows(); shell_new_rows();
if (curtab->tp_old_Columns != COLUMNS_WITHOUT_TPL() if (curtab->tp_old_Columns != COLUMNS_WITHOUT_TPL()
|| curtab->tp_old_coloff != TPL_LCOL(NULL)) || curtab->tp_old_coloff != TPL_LCOL())
{ {
if (starting == 0) if (starting == 0)
{ {