diff --git a/core/unicode/utf8/utf8.odin b/core/unicode/utf8/utf8.odin index 78cefa8b4..0b48a0cd8 100644 --- a/core/unicode/utf8/utf8.odin +++ b/core/unicode/utf8/utf8.odin @@ -314,7 +314,7 @@ valid_string :: proc "contextless" (s: string) -> bool { return false } else if size == 3 { // Okay - } else if d := s[i+3]; b < 0x80 || 0xbf < d { + } else if d := s[i+3]; d < 0x80 || 0xbf < d { return false } i += size