Don't allow exponential notation in specctra export.

Fixes https://gitlab.com/kicad/code/kicad/issues/7786
This commit is contained in:
Jeff Young 2021-03-04 22:39:09 +00:00
parent bbf02a5f08
commit c85c14e6e4
1 changed files with 2 additions and 2 deletions

View File

@ -3701,11 +3701,11 @@ void PLACE::Format( OUTPUTFORMATTER* out, int nestLevel )
if( hasVertex )
{
out->Print( 0, " %.6g %.6g", vertex.x, vertex.y );
out->Print( 0, " %.6f %.6f", vertex.x, vertex.y );
out->Print( 0, " %s", GetTokenText( side ) );
out->Print( 0, " %.6g", rotation );
out->Print( 0, " %.6f", rotation );
}
const char* space = " "; // one space, as c string.