[1/2] shell32: Correct create flags when SEE_MASK_NO_CONSOLE isn't specified (resend)
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Tue Feb 11 02:54:17 CST 2014
Hi,
Changelog:
shell32: Correct create flags when SEE_MASK_NO_CONSOLE isn't specified
Best Regards
Alistair Leslie-Hughes
-------------- next part --------------
>From 3047dbde723fa06c752734df82d12039356314eb Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Fri, 24 Jan 2014 15:31:31 +1100
Subject: [PATCH 04/13] Correct create flags when SEE_MASK_NO_CONSOLE isn't
specified
---
dlls/shell32/shlexec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/shell32/shlexec.c b/dlls/shell32/shlexec.c
index 39d640a..bccf7a0 100644
--- a/dlls/shell32/shlexec.c
+++ b/dlls/shell32/shlexec.c
@@ -338,7 +338,7 @@ static UINT_PTR SHELL_ExecuteW(const WCHAR *lpCmd, WCHAR *env, BOOL shWait,
startup.dwFlags = STARTF_USESHOWWINDOW;
startup.wShowWindow = psei->nShow;
dwCreationFlags = CREATE_UNICODE_ENVIRONMENT;
- if (psei->fMask & SEE_MASK_NO_CONSOLE)
+ if (!(psei->fMask & SEE_MASK_NO_CONSOLE))
dwCreationFlags |= CREATE_NEW_CONSOLE;
if (CreateProcessW(NULL, (LPWSTR)lpCmd, NULL, NULL, FALSE, dwCreationFlags, env,
lpDirectory, &startup, &info))
--
1.8.3.2
More information about the wine-patches
mailing list