Manual cherry-pick of 912bd4458f

This commit is contained in:
Jeff Young 2023-04-12 18:32:02 +01:00
parent b876af55df
commit 1f140953d6
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,7 @@ int LIB_SYMBOL::Compare( const LIB_SYMBOL& aRhs, int aCompareFlags, REPORTER* aR
}
else if( aField->GetId() == VALUE_FIELD )
{
if( ( aCompareFlags & LIB_ITEM::COMPARE_FLAGS::ERC ) == 0 || IsPower() )
if( ( aCompareFlags & LIB_ITEM::COMPARE_FLAGS::ERC ) == 0 )
tmp = aFieldItem->compare( *bField, aCompareFlags );
}
else