Fix typo in UpdateNetlist() which was making a real mess of things.

Fixes: lp:1793987
* https://bugs.launchpad.net/kicad/+bug/1793987
This commit is contained in:
Jeff Young 2018-09-23 23:49:03 +01:00
parent 4b493e45eb
commit 9eb574015c
1 changed files with 1 additions and 1 deletions

View File

@ -651,7 +651,7 @@ bool BOARD_NETLIST_UPDATER::UpdateNetlist( NETLIST& aNetlist )
if( aNetlist.IsFindByTimeStamp() ) if( aNetlist.IsFindByTimeStamp() )
match = footprint->GetPath() == component->GetTimeStamp(); match = footprint->GetPath() == component->GetTimeStamp();
else else
match = footprint->GetReference().CmpNoCase( component->GetReference() ); match = footprint->GetReference().CmpNoCase( component->GetReference() ) == 0;
} }
if( match ) if( match )