diff --git a/pcbnew/class_pad.cpp b/pcbnew/class_pad.cpp index 3179a2d982..76be6c929a 100644 --- a/pcbnew/class_pad.cpp +++ b/pcbnew/class_pad.cpp @@ -652,7 +652,7 @@ int D_PAD::GetSolderMaskMargin() const BOARD* brd = GetBoard(); if( brd ) { - margin = brd->GetDesignSettings().m_SolderMaskMargin; + margin = brd->GetDesignSettings().m_SolderMaskMargin; } } } diff --git a/pcbnew/connectivity/connectivity_data.cpp b/pcbnew/connectivity/connectivity_data.cpp index d5972cc144..1a61f0a097 100644 --- a/pcbnew/connectivity/connectivity_data.cpp +++ b/pcbnew/connectivity/connectivity_data.cpp @@ -2,6 +2,7 @@ * This program source code file is part of KICAD, a free EDA CAD application. * * Copyright (C) 2017 CERN + * Copyright (C) 2018-2019 KiCad Developers, see AUTHORS.txt for contributors. * @author Tomasz Wlostowski * * This program is free software; you can redistribute it and/or @@ -357,9 +358,10 @@ const std::vector CONNECTIVITY_DATA::GetConnectedItems( bool aIgnoreNetcodes ) const { std::vector rv; - const auto clusters = m_connAlgo->SearchClusters( - aIgnoreNetcodes ? CN_CONNECTIVITY_ALGO::CSM_PROPAGATE : CN_CONNECTIVITY_ALGO::CSM_CONNECTIVITY_CHECK, - aTypes, + const auto clusters = m_connAlgo->SearchClusters( + aIgnoreNetcodes ? + CN_CONNECTIVITY_ALGO::CSM_PROPAGATE : + CN_CONNECTIVITY_ALGO::CSM_CONNECTIVITY_CHECK, aTypes, aIgnoreNetcodes ? -1 : aItem->GetNetCode() ); for( auto cl : clusters ) diff --git a/pcbnew/connectivity/connectivity_data.h b/pcbnew/connectivity/connectivity_data.h index 8582f9170b..51575b438c 100644 --- a/pcbnew/connectivity/connectivity_data.h +++ b/pcbnew/connectivity/connectivity_data.h @@ -2,6 +2,7 @@ * This program source code file is part of KICAD, a free EDA CAD application. * * Copyright (C) 2013-2017 CERN + * Copyright (C) 2018-2019 KiCad Developers, see AUTHORS.txt for contributors. * @author Maciej Suminski * @author Tomasz Wlostowski * @@ -175,7 +176,7 @@ public: const std::vector GetConnectedPads( const BOARD_CONNECTED_ITEM* aItem ) const; - const void GetConnectedPads( const BOARD_CONNECTED_ITEM* aItem, std::set* pads) const; + const void GetConnectedPads( const BOARD_CONNECTED_ITEM* aItem, std::set* pads ) const; const std::vector GetConnectedItems( const BOARD_CONNECTED_ITEM* aItem, const VECTOR2I& aAnchor, KICAD_T aTypes[] ); diff --git a/pcbnew/tools/pcb_editor_control.cpp b/pcbnew/tools/pcb_editor_control.cpp index 4ae49786a0..5d8d5ad666 100644 --- a/pcbnew/tools/pcb_editor_control.cpp +++ b/pcbnew/tools/pcb_editor_control.cpp @@ -2,7 +2,7 @@ * This program source code file is part of KiCad, a free EDA CAD application. * * Copyright (C) 2014 CERN - * Copyright (C) 2014-2018 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 2014-2019 KiCad Developers, see AUTHORS.txt for contributors. * @author Maciej Suminski * * This program is free software; you can redistribute it and/or @@ -486,7 +486,7 @@ int PCB_EDITOR_CONTROL::PlaceModule( const TOOL_EVENT& aEvent ) module->SetFlags( IS_NEW ); // whatever module->SetTimeStamp( GetNewTimeStamp() ); - + // Put it on FRONT layer, // (Can be stored flipped if the lib is an archive built from a board) if( module->IsFlipped() )