Alexandre Julliard : kernel32: Fix typo in CreateActCtxA.
Module: wine Branch: master Commit: b504d0502267625cfb14b8b6d0d524793e9a1978 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b504d0502267625cfb14b8b6d0... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri May 11 11:19:38 2007 +0200 kernel32: Fix typo in CreateActCtxA. --- dlls/kernel32/actctx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/kernel32/actctx.c b/dlls/kernel32/actctx.c index 06bc8e5..1d5461f 100644 --- a/dlls/kernel32/actctx.c +++ b/dlls/kernel32/actctx.c @@ -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));
participants (1)
-
Alexandre Julliard