diff --git a/eeschema/sch_symbol.cpp b/eeschema/sch_symbol.cpp index 5421586879..5ff5b7193f 100644 --- a/eeschema/sch_symbol.cpp +++ b/eeschema/sch_symbol.cpp @@ -2744,7 +2744,7 @@ bool SCH_SYMBOL::operator==( const SCH_ITEM& aOther ) const for( unsigned i = 0; i < m_pins.size(); ++i ) { - if( *m_pins[i] == *symbol.m_pins[i] ) + if( *m_pins[i] != *symbol.m_pins[i] ) return false; }