diff options
| author | Saikari <[email protected]> | 2026-02-17 22:57:47 +0300 |
|---|---|---|
| committer | Saikari <[email protected]> | 2026-02-17 22:57:47 +0300 |
| commit | 387e1c258a5c4bef446b6d18fcffd93cc25c1543 (patch) | |
| tree | b12ab848d172adc4a5b0c65b7a3cbfdb247c8a93 /core/src | |
| parent | 994c838e48bfabace4b6deda4d5dc51ee0e101a0 (diff) | |
tb_wtoa
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/winos/file_signature.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
