changeset 35177:f2029f612ae5 v9.1.0412

patch 9.1.0412: typo in regexp_bt.c in DEBUG code Commit: https://github.com/vim/vim/commit/6043024cd48db485e3c748e8f46ca87e3cdef9d9 Author: Christian Brabandt <cb@256bit.org> Date: Tue May 14 11:19:47 2024 +0200 patch 9.1.0412: typo in regexp_bt.c in DEBUG code 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>
author Christian Brabandt <cb@256bit.org>
date Tue, 14 May 2024 11:30:05 +0200
parents bbbd250e3d7a
children b094a5d09a9d
files src/regexp_bt.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/regexp_bt.c
+++ b/src/regexp_bt.c
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -705,6 +705,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    412,
+/**/
     411,
 /**/
     410,