diff src/regexp_bt.c @ 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 0b259135fb3a
children
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