From a4d23fff126deccd4c0b3eee37a1711cd0438f86 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Thu, 3 Sep 2020 17:30:13 -0400 Subject: [PATCH] Fix multi-unit pin check logic Typo name vs. number Fixes https://gitlab.com/kicad/code/kicad/-/issues/5483 --- eeschema/erc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/erc.cpp b/eeschema/erc.cpp index ae4e51dd81..1065d0cae8 100644 --- a/eeschema/erc.cpp +++ b/eeschema/erc.cpp @@ -502,7 +502,7 @@ int ERC_TESTER::TestMultUnitPinConflicts() continue; wxString name = ( pin->GetParentComponent()->GetRef( &subgraph->m_sheet ) + - ":" + pin->GetName() ); + ":" + pin->GetNumber() ); if( !pinToNetMap.count( name ) ) {