aboutsummaryrefslogtreecommitdiff
path: root/core/strings
diff options
context:
space:
mode:
Diffstat (limited to 'core/strings')
-rw-r--r--core/strings/strings.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/strings/strings.odin b/core/strings/strings.odin
index 91d2defa8..4179f7df8 100644
--- a/core/strings/strings.odin
+++ b/core/strings/strings.odin
@@ -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