From 6ce270ffa4ace7748097dc156e5f351b0f88c868 Mon Sep 17 00:00:00 2001 From: silnem2 <126880409+silnem2@users.noreply.github.com> Date: Tue, 9 Jan 2024 06:53:38 -0800 Subject: [PATCH] drum: fix off-by-one error in wrd:offset --- pkg/arvo/lib/hood/drum.hoon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/arvo/lib/hood/drum.hoon b/pkg/arvo/lib/hood/drum.hoon index bec10edf0..532205c50 100644 --- a/pkg/arvo/lib/hood/drum.hoon +++ b/pkg/arvo/lib/hood/drum.hoon @@ -1070,8 +1070,9 @@ ++ wrd :: next or current word |= a=(list @) =| i=@ud + ?~ a i |- ^- @ud - ?: |(?=(~ a) (alnm i.a)) i + ?: |(?=(~ t.a) (alnm i.a)) i $(i +(i), a t.a) -- --