Minor FOOTPRINT_FILTER fix
This commit is contained in:
parent
10c5297f2e
commit
5755582c53
|
@ -154,7 +154,8 @@ bool FOOTPRINT_FILTER_IT::FootprintFilterMatch( FOOTPRINT_INFO& aItem )
|
|||
|
||||
bool FOOTPRINT_FILTER_IT::PinCountMatch( FOOTPRINT_INFO& aItem )
|
||||
{
|
||||
return (unsigned) m_filter->m_pin_count == aItem.GetUniquePadCount();
|
||||
return m_filter->m_pin_count >= 0 &&
|
||||
(unsigned) m_filter->m_pin_count == aItem.GetUniquePadCount();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue