(360) Small fix
This commit is contained in:
parent
f6f101b6ab
commit
294e922ecc
|
@ -691,7 +691,7 @@ void rarch_console_rsound_stop(void)
|
|||
wchar_t * rarch_convert_char_to_wchar(const char * str)
|
||||
{
|
||||
unsigned long dwNum = MultiByteToWideChar(CP_ACP, 0, str, -1, NULL, 0);
|
||||
wchar_t * w_str = (wchar_t*)malloc(sizeof(wchar_t*) * dwNum);
|
||||
wchar_t * w_str = (wchar_t*)malloc(sizeof(wchar_t) * dwNum);
|
||||
MultiByteToWideChar(CP_ACP, 0, str, -1, w_str, dwNum);
|
||||
return w_str;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue