mirror of
https://github.com/vim/vim.git
synced 2026-05-28 00:21:37 +02:00
patch 9.2.0203: Patch v9.2.0185 was wrong
Problem: Patch v9.2.0185 was wrong
Solution: Revert patch v9.2.0185, root cause fixed in v9.2.0197
(Hirohito Higashi).
related: #19730
related: #19734
closes: #19749
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
645ed6597d
commit
d2dc9a4f37
+2
-7
@@ -1451,9 +1451,6 @@ win_redr_custom(
|
||||
if (wp == NULL)
|
||||
{
|
||||
// Fill the TabPageIdxs[] array for clicking in the tab pagesline.
|
||||
int end_col = firstwin->w_wincol + topframe->fr_width;
|
||||
if (end_col > Columns)
|
||||
end_col = Columns;
|
||||
col = firstwin->w_wincol;
|
||||
len = 0;
|
||||
p = buf;
|
||||
@@ -1461,14 +1458,12 @@ win_redr_custom(
|
||||
for (n = 0; tabtab[n].start != NULL; n++)
|
||||
{
|
||||
len += vim_strnsize(p, (int)(tabtab[n].start - p));
|
||||
while (col < len && col < end_col)
|
||||
while (col < len)
|
||||
TabPageIdxs[col++] = fillchar;
|
||||
if (col >= end_col)
|
||||
break;
|
||||
p = tabtab[n].start;
|
||||
fillchar = tabtab[n].userhl;
|
||||
}
|
||||
while (col < end_col)
|
||||
while (col < firstwin->w_wincol + topframe->fr_width)
|
||||
TabPageIdxs[col++] = fillchar;
|
||||
}
|
||||
|
||||
|
||||
@@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
203,
|
||||
/**/
|
||||
202,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user