mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 09:22:22 -07:00
@@ -752,7 +752,7 @@ cut :: proc(s: string, rune_offset := int(0), rune_length := int(0)) -> (res: st
|
||||
count += 1
|
||||
}
|
||||
|
||||
if rune_length <= 1 {
|
||||
if rune_length < 1 {
|
||||
return s
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user