mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-29 02:40:05 +00:00
correct newly found vets
This commit is contained in:
@@ -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