mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 16:51:42 +03:00
zuse: make +slag:klr:format match +slag's behavior
Previously, if the given index was beyond the stub's content, it would return the entire stub. Now, it correctly returns the empty stub.
This commit is contained in:
parent
8716c49b45
commit
95c3a51ba1
@ -3749,7 +3749,7 @@
|
||||
^- stub
|
||||
=+ c=(lnts-char b)
|
||||
=+ i=(brek a c)
|
||||
?~ i b
|
||||
?~ i ~
|
||||
=+ r=(^slag +(p.u.i) b)
|
||||
?: =(a q.u.i)
|
||||
r
|
||||
|
Loading…
Reference in New Issue
Block a user