drum: fix off-by-one error in wrd:offset

This commit is contained in:
silnem2 2024-01-09 06:53:38 -08:00
parent 4576213e53
commit 6ce270ffa4

View File

@ -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)
--
--