Eric Pouech : ntdll: Use proper names for magic constants.
Alexandre Julliard
julliard at winehq.org
Fri Dec 17 15:14:55 CST 2021
Module: wine
Branch: master
Commit: 594036d620ca46c9e1ad78136a6703da5ed21112
URL: https://source.winehq.org/git/wine.git/?a=commit;h=594036d620ca46c9e1ad78136a6703da5ed21112
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Fri Dec 17 15:57:23 2021 +0100
ntdll: Use proper names for magic constants.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/unix/process.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/unix/process.c b/dlls/ntdll/unix/process.c
index 23aa340359e..99c8e37053c 100644
--- a/dlls/ntdll/unix/process.c
+++ b/dlls/ntdll/unix/process.c
@@ -444,7 +444,7 @@ static NTSTATUS spawn_process( const RTL_USER_PROCESS_PARAMETERS *params, int so
if (!(pid = fork())) /* grandchild */
{
if (params->ConsoleFlags ||
- params->ConsoleHandle == (HANDLE)1 /* KERNEL32_CONSOLE_ALLOC */ ||
+ params->ConsoleHandle == CONSOLE_HANDLE_ALLOC ||
(params->hStdInput == INVALID_HANDLE_VALUE && params->hStdOutput == INVALID_HANDLE_VALUE))
{
setsid();
More information about the wine-cvs
mailing list