correct newly found vets
This commit is contained in:
1 parent
21fcf7c874
commit
3a0df80066
18 files changed
+56
-62
No files matched your search
@@ -809,7 +809,7 @@ _split :: proc(s_, sep: string, sep_save, n_: int, allocator := context.allocato
|
||||
n = l
|
||||
}
|
||||
|
||||
res := make([]string, n, allocator, loc) or_return
|
||||
res = make([]string, n, allocator, loc) or_return
|
||||
for i := 0; i < n-1; i += 1 {
|
||||
_, w := utf8.decode_rune_in_string(s)
|
||||
res[i] = s[:w]
|
||||
|
||||
Reference in new issue
Block a user