Skip to content

Commit

Permalink
Line: fix formatting issue in DumpProperties
Browse files Browse the repository at this point in the history
  • Loading branch information
PMeira committed Jul 17, 2023
1 parent 5f2e0c0 commit 0caaffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PDElements/Line.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ procedure TLineObj.DumpProperties(F: TFileStream; Complete: Boolean; Leaf: Boole
else
FSWriteln(F, '~ ' + PropertyName[3] + '=' + '');

FSWriteln(F, Format('~ %s=%d', [PropertyName[4], len]));
FSWriteln(F, Format('~ %s=%g', [PropertyName[4], len]));
FSWriteln(F, Format('~ %s=%d', [PropertyName[5], Fnphases]));
if SymComponentsModel then
rslt := Format('%-.7g', [R1 / FUnitsConvert])
Expand Down

0 comments on commit 0caaffc

Please sign in to comment.