Update strings.odin
Fix from Walter.
This commit is contained in:
1 parent
3bf820cf99
commit
3f3cc342b4
1 file changed
+1
-1
@@ -1392,7 +1392,7 @@ fields_iterator :: proc(s: ^string) -> (field: string, ok: bool) {
|
||||
return "", false
|
||||
}
|
||||
|
||||
field = s[:len(s)]
|
||||
field = s[start:]
|
||||
ok = true
|
||||
s^ = s[len(s):]
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user