Fix to split_multi_iterator

This commit is contained in:
gingerBill
2023-03-16 16:35:30 +00:00
parent 0727e91aeb
commit 97d7e295dd
+1
View File
@@ -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