]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.0412: typo in regexp_bt.c in DEBUG code v9.1.0412
authorChristian Brabandt <cb@256bit.org>
Tue, 14 May 2024 09:19:47 +0000 (11:19 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 14 May 2024 09:19:47 +0000 (11:19 +0200)
Problem:  typo in regexp_bt.c in DEBUG code, causing
          compile error (@kfleong7, after v9.1.0409)
Solution: Replace bulen by buflen

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

index 9da345f4e245530d7aaca2e978a9fab925e23831..5452dda0f6ef5e937f5852380be8c5b71290b162 100644 (file)
@@ -5570,7 +5570,7 @@ regprop(char_u *op)
       case ZREF + 7:
       case ZREF + 8:
       case ZREF + 9:
-       bulen += sprintf(buf + buflen, "ZREF%d", OP(op) - ZREF);
+       buflen += sprintf(buf + buflen, "ZREF%d", OP(op) - ZREF);
        p = NULL;
        break;
 #endif
index f4c792d016c1c3fabadc3e3702357ea4a8e71853..834954af7181c4149f76b484b152692adc693eca 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    412,
 /**/
     411,
 /**/