mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
sync browseui_winetest with wine 1.1.13
svn path=/trunk/; revision=38845
This commit is contained in:
parent
aecfced223
commit
be6f9a9db3
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
|||
static LPWSTR strdup_AtoW(LPCSTR str)
|
||||
{
|
||||
int size = MultiByteToWideChar(CP_ACP, 0, str, -1, NULL, 0);
|
||||
LPWSTR wstr = (LPWSTR)CoTaskMemAlloc((size + 1)*sizeof(WCHAR));
|
||||
LPWSTR wstr = CoTaskMemAlloc((size + 1)*sizeof(WCHAR));
|
||||
MultiByteToWideChar(CP_ACP, 0, str, -1, wstr, size+1);
|
||||
return wstr;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue