Fixes #4359
This commit is contained in:
Jeroen van Rijn
2024-10-09 14:31:01 +02:00
parent 5c63617191
commit 6f23b5bb60
+1 -1
View File
@@ -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
}