Fix uninitialized result for dwFlags

This commit is contained in:
Martin 2023-12-18 01:57:35 +01:00
parent 2e9ceda11b
commit 7a8fae6194

View File

@ -51,7 +51,7 @@ end;
Function GetStartupFlags (P : TProcess): Cardinal;
begin
Result:=Result or Startf_UseStdHandles;
Result:= Startf_UseStdHandles;
if suoUseShowWindow in P.StartupOptions then
Result:=Result or startf_USESHOWWINDOW;
if suoUSESIZE in P.StartupOptions then