Fix executing applications. Sorry for the delay, this was like finding a needle in a hay stack. Gotta love splitting patches..

svn path=/trunk/; revision=16548
This commit is contained in:
Alex Ionescu 2005-07-13 00:11:11 +00:00
parent 6f84809a47
commit c01f0050df

View file

@ -1345,8 +1345,8 @@ CreateProcessW(LPCWSTR lpApplicationName,
*/
if (lpStartupInfo)
{
Ppb->Flags = lpStartupInfo->dwFlags;
if (Ppb->Flags & STARTF_USESHOWWINDOW)
Ppb->WindowFlags = lpStartupInfo->dwFlags;
if (Ppb->WindowFlags & STARTF_USESHOWWINDOW)
{
Ppb->ShowWindowFlags = lpStartupInfo->wShowWindow;
}