]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.2.0275: tests: test_options.vim fails v9.2.0275
authorChristian Brabandt <cb@256bit.org>
Tue, 31 Mar 2026 17:44:00 +0000 (17:44 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 31 Mar 2026 17:44:00 +0000 (17:44 +0000)
Problem:  tests: test_options.vim fails
          (after v9.2.0273)
Solution: allow column value of 0

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/tabpanel.c
src/version.c

index c47b6b6e470f3de4d72a3085a414bcfd6a53ccf5..9db957dda5a3f40bfbfa0f292000aeb652e654c9 100644 (file)
@@ -83,7 +83,7 @@ tabpanelopt_changed(void)
        {
            p += 8;
            new_columns = getdigits(&p);
-           if (new_columns < 1 || new_columns > 1000)
+           if (new_columns < 0 || new_columns > 1000)
                return FAIL;
        }
        else if (STRNCMP(p, "vert", 4) == 0)
index 1e3ed45edbb565ee2e36154861fb4e9388a08891..3fa39ae403558a29990829768fa4fa21edc69eba 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    275,
 /**/
     274,
 /**/