start.exe: STARTUPINFOW needs the STARTF_USESHOWWINDOW flag.

Fixes a regression introduced by 42fa293d48

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48170
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Damjan Jovanovic 2019-11-26 04:28:54 +02:00 committed by Alexandre Julliard
parent 22a4b3fc7e
commit c5bceecb51
1 changed files with 1 additions and 0 deletions

View File

@ -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(