diff options
| -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); } |
