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:51:13 +01:00
parent 4b493e45eb
commit 9eb574015c
+1 -1
View File
@@ -651,7 +651,7 @@ bool BOARD_NETLIST_UPDATER::UpdateNetlist( NETLIST& aNetlist )
if( aNetlist.IsFindByTimeStamp() )
match = footprint->GetPath() == component->GetTimeStamp();
else
match = footprint->GetReference().CmpNoCase( component->GetReference() );
match = footprint->GetReference().CmpNoCase( component->GetReference() ) == 0;
}
if( match )