mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 03:00:15 +03:00
drum: fix off-by-one error in wrd:offset
This commit is contained in:
parent
4576213e53
commit
6ce270ffa4
@ -1070,8 +1070,9 @@
|
|||||||
++ wrd :: next or current word
|
++ wrd :: next or current word
|
||||||
|= a=(list @)
|
|= a=(list @)
|
||||||
=| i=@ud
|
=| i=@ud
|
||||||
|
?~ a i
|
||||||
|- ^- @ud
|
|- ^- @ud
|
||||||
?: |(?=(~ a) (alnm i.a)) i
|
?: |(?=(~ t.a) (alnm i.a)) i
|
||||||
$(i +(i), a t.a)
|
$(i +(i), a t.a)
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
|
Loading…
Reference in New Issue
Block a user