patch 9.2.0203: Patch v9.2.0185 was wrong

Commit: 
https://github.com/vim/vim/commit/d2dc9a4f37b0a828b2d044fb8e5dddb70efdd57a
Author: Hirohito Higashi <[email protected]>
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 <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

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,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1w3K0K-00Ddcr-31%40256bit.org.

Raspunde prin e-mail lui