Skip to content

Commit

Permalink
fix incorrect flag for skipvoid
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Jul 28, 2022
1 parent 8af3631 commit 6d64c0b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mcxstudio/mcxgui.pas
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ procedure TfmMCX.mcxdoDefaultExecute(Sender: TObject);
ckSaveDetector.Checked:=true; //-d
ckSaveRef.Checked:=false; //-X
ckSrcFrom0.Checked:=true; //-z
ckSkipVoid.Checked:=false; //-k
ckSkipVoid.Checked:=true; //-k
ckAutopilot.Checked:=true;
ckSaveSeed.Checked:=false;
ckSaveMask.Checked:=false;
Expand Down Expand Up @@ -3173,9 +3173,9 @@ function TfmMCX.CreateCmd(proc: TProcess=nil):AnsiString;
end;
end;
end;
if(ckSkipVoid.Checked) then begin
param.Add('--skipvoid');
param.Add('1');
if(not ckSkipVoid.Checked) then begin
param.Add('--voidtime');
param.Add('0');
end;
debugflag:='';
for i:=0 to ckbDebug.Items.Count-1 do begin
Expand Down

0 comments on commit 6d64c0b

Please sign in to comment.