From 387e1c258a5c4bef446b6d18fcffd93cc25c1543 Mon Sep 17 00:00:00 2001 From: Saikari Date: Tue, 17 Feb 2026 22:57:47 +0300 Subject: tb_wtoa --- core/src/xmake/winos/file_signature.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/xmake/winos/file_signature.c b/core/src/xmake/winos/file_signature.c index d9d262544..e16cb4949 100644 --- a/core/src/xmake/winos/file_signature.c +++ b/core/src/xmake/winos/file_signature.c @@ -165,7 +165,7 @@ static tb_bool_t tb_file_get_signature_info(tb_char_t const* filepath, tb_file_s NULL, wName, 256)) { - WideCharToMultiByte(CP_UTF8, 0, wName, -1, info->signer_name, sizeof(info->signer_name), NULL, NULL); + tb_wtoa(info->signer_name, wName, sizeof(info->signer_name)); } CertFreeCertificateContext(pCertContext); } -- cgit v1.3.1