Fix typo.

This commit is contained in:
Jeff Young 2018-05-13 21:47:47 +01:00
parent 2832f997c5
commit 1a6e8d4713
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ public:
{ {
// If items are unannotated then we can't tell if they're units of the same // If items are unannotated then we can't tell if they're units of the same
// component or not // component or not
if( lhRef.GetRefNumber() != wxT( "?" ) ) if( lhRef.GetRefNumber() == wxT( "?" ) )
return false; return false;
return ( lhRef.GetRef() == rhRef.GetRef() && lhRef.GetRefNumber() == rhRef.GetRefNumber() ); return ( lhRef.GetRef() == rhRef.GetRef() && lhRef.GetRefNumber() == rhRef.GetRefNumber() );