From 65b615bc4b74ede583f42d65ff8d853107b5f094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20=C3=96dmark?= Date: Fri, 27 Oct 2017 10:59:49 +0200 Subject: [PATCH] Removed extra space in header part, fixed coding style --- pcbnew/kicad_plugin.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pcbnew/kicad_plugin.cpp b/pcbnew/kicad_plugin.cpp index 45fc0729a2..c26599bd32 100644 --- a/pcbnew/kicad_plugin.cpp +++ b/pcbnew/kicad_plugin.cpp @@ -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() )