diff --git a/pcbnew/board_netlist_updater.cpp b/pcbnew/board_netlist_updater.cpp index bf3d6c6562..d7b99c43da 100644 --- a/pcbnew/board_netlist_updater.cpp +++ b/pcbnew/board_netlist_updater.cpp @@ -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 )