Fix minor board file white space formatting issue.

This commit is contained in:
Wayne Stambaugh 2023-06-21 13:42:24 -04:00
parent 0fde88eefc
commit a5411218a2
1 changed files with 8 additions and 5 deletions

View File

@ -1719,7 +1719,9 @@ void PCB_PLUGIN::format( const PAD* aPad, int aNestLevel ) const
m_out->Print( nested_level, "(gr_poly\n" ); m_out->Print( nested_level, "(gr_poly\n" );
formatPolyPts( outline, nested_level, ADVANCED_CFG::GetCfg().m_CompactSave ); formatPolyPts( outline, nested_level, ADVANCED_CFG::GetCfg().m_CompactSave );
m_out->Print( nested_level, " " ); // just to align the next info at the right place
// Align the next info at the right place.
m_out->Print( nested_level, " " );
} }
break; break;
@ -1742,7 +1744,7 @@ void PCB_PLUGIN::format( const PAD* aPad, int aNestLevel ) const
} }
m_out->Print( 0, "\n" ); m_out->Print( 0, "\n" );
m_out->Print( aNestLevel+1, ")" ); // end of (basic_shapes m_out->Print( aNestLevel+1, ")" ); // end of (primitives
} }
if( !isDefaultTeardropParameters( aPad->GetTeardropParams() ) ) if( !isDefaultTeardropParameters( aPad->GetTeardropParams() ) )
@ -1751,9 +1753,10 @@ void PCB_PLUGIN::format( const PAD* aPad, int aNestLevel ) const
formatTeardropParameters( aPad->GetTeardropParams(), aNestLevel+1 ); formatTeardropParameters( aPad->GetTeardropParams(), aNestLevel+1 );
} }
m_out->Print( 0, " (tstamp %s)", TO_UTF8( aPad->m_Uuid.AsString() ) ); m_out->Print( 0, "\n" );
m_out->Print( aNestLevel + 1, "(tstamp %s)", TO_UTF8( aPad->m_Uuid.AsString() ) );
m_out->Print( 0, ")\n" ); m_out->Print( 0, "\n" );
m_out->Print( aNestLevel, ")\n" );
} }