mirror of
https://github.com/reactos/wine.git
synced 2025-02-16 10:59:45 +00:00
kernel32: Fix typo in CreateActCtxA.
This commit is contained in:
parent
8f45938013
commit
b504d05022
@ -100,7 +100,7 @@ HANDLE WINAPI CreateActCtxA(PCACTCTXA pActCtx)
|
||||
}
|
||||
if (actw.dwFlags & ACTCTX_FLAG_RESOURCE_NAME_VALID)
|
||||
{
|
||||
if (!((ULONG_PTR)pActCtx->lpResourceName >> 16))
|
||||
if ((ULONG_PTR)pActCtx->lpResourceName >> 16)
|
||||
{
|
||||
len = MultiByteToWideChar(CP_ACP, 0, pActCtx->lpResourceName, -1, NULL, 0);
|
||||
resname = HeapAlloc(GetProcessHeap(), 0, len * sizeof(WCHAR));
|
||||
|
Loading…
x
Reference in New Issue
Block a user