Alexandre Julliard : kernel32: Fix typo in CreateActCtxA.

Alexandre Julliard julliard at wine.codeweavers.com
Fri May 11 07:27:57 CDT 2007


Module: wine
Branch: master
Commit: b504d0502267625cfb14b8b6d0d524793e9a1978
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b504d0502267625cfb14b8b6d0d524793e9a1978

Author: Alexandre Julliard <julliard at 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));




More information about the wine-cvs mailing list