Fix multi-unit pin check logic

Typo name vs. number

Fixes https://gitlab.com/kicad/code/kicad/-/issues/5483
This commit is contained in:
Jon Evans 2020-09-03 17:30:13 -04:00
parent 3573c8b967
commit a4d23fff12
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) )
{