mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
Fix to split_multi_iterator
This commit is contained in:
@@ -1511,6 +1511,7 @@ split_multi_iterate :: proc(it: ^string, substrs: []string) -> (res: string, ok:
|
|||||||
it^ = it[i+w:]
|
it^ = it[i+w:]
|
||||||
} else {
|
} else {
|
||||||
// last value
|
// last value
|
||||||
|
res = it^
|
||||||
it^ = it[len(it):]
|
it^ = it[len(it):]
|
||||||
}
|
}
|
||||||
ok = true
|
ok = true
|
||||||
|
|||||||
Reference in New Issue
Block a user