From 9529ebf8b7128b961a6bae8fe63edb0d30d79be9 Mon Sep 17 00:00:00 2001 From: "WP. Yingamphol" Date: Sun, 7 Dec 2025 22:52:03 +0700 Subject: [PATCH] forgot to add raw_data --- core/thread/thread_windows.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/thread/thread_windows.odin b/core/thread/thread_windows.odin index b8fd2bc48..b797c059c 100644 --- a/core/thread/thread_windows.odin +++ b/core/thread/thread_windows.odin @@ -185,6 +185,6 @@ _set_name :: proc(thread: ^Thread) { buf: [_THREAD_DESCRIPTION_LENGTH]u16 // _THREAD_DESCRIPTION_LENGTH includes terminating null utf16.encode_string(buf[:len(buf) - 1], name) - win32.SetThreadDescription(t_handle, cstring16(buf)) + win32.SetThreadDescription(t_handle, cstring16(raw_data(buf[:]))) }