Removed extra space in header part, fixed coding style

This commit is contained in:
Kristoffer Ödmark 2017-10-27 10:59:49 +02:00 committed by jean-pierre charras
parent 2e4dbdaf4b
commit 65b615bc4b
1 changed files with 3 additions and 5 deletions

View File

@ -532,8 +532,6 @@ void PCB_IO::formatSetup( BOARD* aBoard, int aNestLevel ) const
{
const BOARD_DESIGN_SETTINGS& dsnSettings = aBoard->GetDesignSettings();
m_out->Print( 0, "\n" );
// Setup
m_out->Print( aNestLevel, "(setup\n" );
@ -764,9 +762,9 @@ void PCB_IO::formatNetInformation( BOARD* aBoard, int aNestLevel ) const
void PCB_IO::formatHeader( BOARD* aBoard, int aNestLevel ) const
{
formatGeneral( aBoard ,aNestLevel );
formatGeneral( aBoard, aNestLevel );
// Layers.
formatBoardLayers( aBoard ,aNestLevel );
formatBoardLayers( aBoard, aNestLevel );
// Setup
formatSetup( aBoard, aNestLevel );
// Save net codes and names
@ -775,7 +773,7 @@ void PCB_IO::formatHeader( BOARD* aBoard, int aNestLevel ) const
void PCB_IO::format( BOARD* aBoard, int aNestLevel ) const
{
formatHeader( aBoard , aNestLevel);
formatHeader( aBoard, aNestLevel );
// Save the modules.
for( MODULE* module = aBoard->m_Modules; module; module = module->Next() )