mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +00:00
Initialized Peb->WindowFlags (instead of Flags) with dwFlags in CreateWindowW.
svn path=/trunk/; revision=3397
This commit is contained in:
parent
024738024e
commit
3f6d544a66
|
@ -1,4 +1,4 @@
|
|||
/* $Id: create.c,v 1.49 2002/08/26 12:27:48 dwelch Exp $
|
||||
/* $Id: create.c,v 1.50 2002/08/26 22:07:01 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
|
@ -897,8 +897,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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue