diff --git a/pcbnew/router/pns_sizes_settings.h b/pcbnew/router/pns_sizes_settings.h index 9e335cbbdf..bb30c9a2f8 100644 --- a/pcbnew/router/pns_sizes_settings.h +++ b/pcbnew/router/pns_sizes_settings.h @@ -37,10 +37,10 @@ public: m_trackWidth( 155000 ), m_diffPairWidth( 125000 ), m_diffPairGap( 180000 ), - m_diffPairViaGap ( 180000 ), + m_diffPairViaGap( 180000 ), m_viaDiameter( 600000 ), m_viaDrill( 250000 ), - m_diffPairViaGapSameAsTraceGap ( true ), + m_diffPairViaGapSameAsTraceGap( true ), m_viaType( VIA_THROUGH ) {}; @@ -59,7 +59,7 @@ public: int DiffPairGap() const { return m_diffPairGap; } int DiffPairViaGap() const { - if(m_diffPairViaGapSameAsTraceGap) + if( m_diffPairViaGapSameAsTraceGap ) return m_diffPairGap; else return m_diffPairViaGap; @@ -73,12 +73,12 @@ public: void SetDiffPairViaGap( int aGap ) { m_diffPairViaGap = aGap; } int ViaDiameter() const { return m_viaDiameter; } - void SetViaDiameter( int aDiameter) { m_viaDiameter = aDiameter; } + void SetViaDiameter( int aDiameter ) { m_viaDiameter = aDiameter; } int ViaDrill() const { return m_viaDrill; } void SetViaDrill( int aDrill ) { m_viaDrill = aDrill; } - boost::optional PairedLayer ( int aLayerId ) + boost::optional PairedLayer( int aLayerId ) { if( m_layerPairs.find(aLayerId) == m_layerPairs.end() ) return boost::optional(); diff --git a/pcbnew/router/router_tool.cpp b/pcbnew/router/router_tool.cpp index 6dbe9cd3c8..ca6975b671 100644 --- a/pcbnew/router/router_tool.cpp +++ b/pcbnew/router/router_tool.cpp @@ -474,7 +474,7 @@ bool ROUTER_TOOL::prepareInteractive() sizes.Init( m_board, m_startItem ); sizes.AddLayerPair( m_frame->GetScreen()->m_Route_Layer_TOP, - m_frame->GetScreen()->m_Route_Layer_BOTTOM ); + m_frame->GetScreen()->m_Route_Layer_BOTTOM ); m_router->UpdateSizes( sizes ); if( !m_router->StartRouting( m_startSnapPoint, m_startItem, routingLayer ) )