From 56f275bc7109b5102e4fc2394584827bdb8fbc59 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Tue, 7 Oct 2025 11:52:49 +0100 Subject: [PATCH] Fix typo --- core/reflect/types.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/reflect/types.odin b/core/reflect/types.odin index fc983df3b..2e82e29b1 100644 --- a/core/reflect/types.odin +++ b/core/reflect/types.odin @@ -293,7 +293,7 @@ is_string16 :: proc(info: ^Type_Info) -> bool { is_cstring16 :: proc(info: ^Type_Info) -> bool { if info == nil { return false } v, ok := type_info_base(info).variant.(Type_Info_String) - return ok && v.is_cstring && v == .UTF_16 + return ok && v.is_cstring && v.encoding == .UTF_16 } // Returns true the base-type is a boolean of any kind, false otherwise.