From: Hirohito Higashi Date: Thu, 19 Mar 2026 20:19:07 +0000 (+0000) Subject: patch 9.2.0203: Patch v9.2.0185 was wrong X-Git-Tag: v9.2.0203^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2dc9a4f37b0a828b2d044fb8e5dddb70efdd57a;p=thirdparty%2Fvim.git 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 Signed-off-by: Christian Brabandt --- diff --git a/src/screen.c b/src/screen.c index 48261009f5..9acfa7bc8c 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 79de52f6aa..a93d224132 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, /**/