patch 9.1.1582: style issue in vim9type.c and vim9generics.c

Commit: 
https://github.com/vim/vim/commit/d680d405397ff3b5dc9b6692d972a5796dd40b8b
Author: Christian Brabandt <c...@256bit.org>
Date:   Tue Jul 22 19:41:39 2025 +0200

    patch 9.1.1582: style issue in vim9type.c and vim9generics.c
    
    Problem:  style issue in vim9type.c and vim9generics.c
              (after v9.1.1581 and v9.1.1580)
    Solution: Update Style and place opening brace on a new line.
    
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/version.c b/src/version.c
index 9a371ef2c..68bd2f639 100644
--- a/src/version.c
+++ b/src/version.c
@@ -719,6 +719,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1582,
 /**/
     1581,
 /**/
diff --git a/src/vim9generics.c b/src/vim9generics.c
index fc45af73c..9d0195876 100644
--- a/src/vim9generics.c
+++ b/src/vim9generics.c
@@ -305,7 +305,8 @@ parse_generic_func_type_args(
        char    *ret_name = type_name(type_arg, &ret_free);
 
        // create space for the name and the new type
-       if (ga_grow(&gfatab->gfat_args, 1) == FAIL) {
+       if (ga_grow(&gfatab->gfat_args, 1) == FAIL)
+       {
            vim_free(ret_free);
            return NULL;
        }
diff --git a/src/vim9type.c b/src/vim9type.c
index 1a20d9bd0..28997ab37 100644
--- a/src/vim9type.c
+++ b/src/vim9type.c
@@ -1886,7 +1886,8 @@ parse_type_tuple(
     ret_type = alloc_tuple_type(typecount, type_gap);
     ret_type->tt_flags = flags;
     ret_type->tt_argcount = typecount;
-    if (tuple_type_add_types(ret_type, typecount, type_gap) == FAIL) {
+    if (tuple_type_add_types(ret_type, typecount, type_gap) == FAIL)
+    {
        ret_type = NULL;
        goto on_err;
     }

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1ueH32-00418l-Pr%40256bit.org.

Raspunde prin e-mail lui