mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 18:02:02 +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:]
|
||||
} else {
|
||||
// last value
|
||||
res = it^
|
||||
it^ = it[len(it):]
|
||||
}
|
||||
ok = true
|
||||
|
||||
Reference in New Issue
Block a user