mirror of
https://github.com/SciresM/hactool
synced 2024-11-10 06:34:14 +00:00
Fix extraction filepath copying on WIN32
This commit is contained in:
parent
714a272ab3
commit
0486b3c00d
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ void os_strcpy(oschar_t *dst, const char *src) {
|
|||
in = (char *)src;
|
||||
out = (char *)dst;
|
||||
in_bytes = src_len;
|
||||
out_bytes = dst_len;
|
||||
out_bytes = dst_len * sizeof(oschar_t);
|
||||
|
||||
iconv_t cd = iconv_open("UTF-16LE", "UTF-8");
|
||||
iconv(cd, &in, &in_bytes, &out, &out_bytes);
|
||||
|
|
Loading…
Reference in a new issue