Commit: patch 9.2.0203: Patch v9.2.0185 was wrong

1 view
Skip to first unread message

Christian Brabandt

unread,
Mar 19, 2026, 4:32:06 PM (4 days ago) Mar 19
to vim...@googlegroups.com
patch 9.2.0203: Patch v9.2.0185 was wrong

Commit: https://github.com/vim/vim/commit/d2dc9a4f37b0a828b2d044fb8e5dddb70efdd57a
Author: Hirohito Higashi <h.eas...@gmail.com>
Date: Thu Mar 19 20:19:07 2026 +0000

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.eas...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/screen.c b/src/screen.c
index 48261009f..9acfa7bc8 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -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;
}

diff --git a/src/version.c b/src/version.c
index 79de52f6a..a93d22413 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 203,
/**/
202,
/**/
Reply all
Reply to author
Forward
0 new messages