]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0203: Patch v9.2.0185 was wrong v9.2.0203
authorHirohito Higashi <h.east.727@gmail.com>
Thu, 19 Mar 2026 20:19:07 +0000 (20:19 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 19 Mar 2026 20:19:07 +0000 (20:19 +0000)
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>
src/screen.c
src/version.c

index 48261009f50affe8e9406e6fb8a98a18b8710806..9acfa7bc8c1660daa2eafed3a1b30808b47bb1fa 100644 (file)
@@ -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;
     }
 
index 79de52f6aa54bc4b92edc5d423852d7f8015a4d3..a93d224132b769d26e7e507addd3aa67e1af9977 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    203,
 /**/
     202,
 /**/