Michael Karcher : ntdll: Fix ProcessExecuteFlag logic.
Alexandre Julliard
julliard at winehq.org
Mon Aug 3 11:15:53 CDT 2009
Module: wine
Branch: master
Commit: 137799cbfce5ce51d727ebd8b0194e275ca96e6a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=137799cbfce5ce51d727ebd8b0194e275ca96e6a
Author: Michael Karcher <wine at mkarcher.dialup.fu-berlin.de>
Date: Sun Jul 26 19:58:46 2009 +0200
ntdll: Fix ProcessExecuteFlag logic.
---
dlls/ntdll/process.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/process.c b/dlls/ntdll/process.c
index 6258569..265aa2e 100644
--- a/dlls/ntdll/process.c
+++ b/dlls/ntdll/process.c
@@ -416,10 +416,10 @@ NTSTATUS WINAPI NtSetInformationProcess(
switch (*(ULONG *)ProcessInformation & (MEM_EXECUTE_OPTION_ENABLE|MEM_EXECUTE_OPTION_DISABLE))
{
case MEM_EXECUTE_OPTION_ENABLE:
- enable = FALSE;
+ enable = TRUE;
break;
case MEM_EXECUTE_OPTION_DISABLE:
- enable = TRUE;
+ enable = FALSE;
break;
default:
return STATUS_INVALID_PARAMETER;
More information about the wine-cvs
mailing list