PCB_PLOT_PARAMS::Format(): use locale independent double to string converter

This commit is contained in:
jean-pierre charras
2025-05-29 10:17:29 +02:00
parent 9aab186c38
commit 7dfa680eb4
+2 -2
View File
@@ -161,8 +161,8 @@ void PCB_PLOT_PARAMS::Format( OUTPUTFORMATTER* aFormatter ) const
if( m_gerberPrecision != gbrDefaultPrecision )
aFormatter->Print( "(gerberprecision %d)", m_gerberPrecision );
aFormatter->Print( "(dashed_line_dash_ratio %f)", GetDashedLineDashRatio() );
aFormatter->Print( "(dashed_line_gap_ratio %f)", GetDashedLineGapRatio() );
aFormatter->Print( "(dashed_line_dash_ratio %s)", FormatDouble2Str( GetDashedLineDashRatio() ).c_str() );
aFormatter->Print( "(dashed_line_gap_ratio %s)", FormatDouble2Str( GetDashedLineGapRatio() ).c_str() );
// SVG options
aFormatter->Print( "(svgprecision %d)", m_svgPrecision );