Damjan Jovanovic : start.exe: STARTUPINFOW needs the STARTF_USESHOWWINDOW flag.

Alexandre Julliard julliard at winehq.org
Tue Nov 26 16:21:23 CST 2019


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

Author: Damjan Jovanovic <damjan.jov at gmail.com>
Date:   Tue Nov 26 04:28:54 2019 +0200

start.exe: STARTUPINFOW needs the STARTF_USESHOWWINDOW flag.

Fixes a regression introduced by 42fa293d48be89ce06b1aab264c5c0d8cc1b4f53

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48170
Signed-off-by: Damjan Jovanovic <damjan.jov at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/start/start.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/programs/start/start.c b/programs/start/start.c
index 2a2c30022c..fd952083ac 100644
--- a/programs/start/start.c
+++ b/programs/start/start.c
@@ -581,6 +581,7 @@ int __cdecl wmain (int argc, WCHAR *argv[])
                     ZeroMemory(&startup_info, sizeof(startup_info));
                     startup_info.cb = sizeof(startup_info);
                     startup_info.wShowWindow = sei.nShow;
+                    startup_info.dwFlags |= STARTF_USESHOWWINDOW;
                     startup_info.lpTitle = title;
 
                     if (!CreateProcessW(




More information about the wine-cvs mailing list