diff --git a/patches/kernel32-SetProcessDEPPolicy/0001-kernel32-Implement-SetProcessDEPPolicy.patch b/patches/kernel32-SetProcessDEPPolicy/0001-kernel32-Implement-SetProcessDEPPolicy.patch index d8a7c764..324cb8e4 100644 --- a/patches/kernel32-SetProcessDEPPolicy/0001-kernel32-Implement-SetProcessDEPPolicy.patch +++ b/patches/kernel32-SetProcessDEPPolicy/0001-kernel32-Implement-SetProcessDEPPolicy.patch @@ -32,7 +32,7 @@ index 992437047..e10bfd95a 100644 + + TRACE("(%d)\n", newDEP); + -+ if (is_wow64 || system_DEP_policy != OptIn && system_DEP_policy != OptOut ) ++ if (is_wow64 || (system_DEP_policy != OptIn && system_DEP_policy != OptOut) ) + { + SetLastError(ERROR_ACCESS_DENIED); + return FALSE;