This commit is contained in:
parent
884c05acb7
commit
7d40eff3e5
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ char* MwACPToUTF8(const char* input) {
|
||||||
return MwStringDuplicate(input);
|
return MwStringDuplicate(input);
|
||||||
}
|
}
|
||||||
|
|
||||||
wout = malloc(wbytes);
|
wout = malloc(wbytes + sizeof(wchar_t));
|
||||||
len = wbytes / sizeof(wchar_t);
|
len = wbytes / sizeof(wchar_t);
|
||||||
|
|
||||||
memset(wout, 0, wbytes);
|
memset(wout, 0, wbytes);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue