mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Ensure that we are checking case differences
When comparing symbols, look for case differences in values since netlists are indeed case sensitive
This commit is contained in:
parent
a6decf15b5
commit
89be756d1a
@ -1706,7 +1706,7 @@ int LIB_SYMBOL::Compare( const LIB_SYMBOL& aRhs, int aCompareFlags, REPORTER* aR
|
|||||||
if( aCompareFlags & SCH_ITEM::COMPARE_FLAGS::EQUALITY )
|
if( aCompareFlags & SCH_ITEM::COMPARE_FLAGS::EQUALITY )
|
||||||
{
|
{
|
||||||
// Compare field text content
|
// Compare field text content
|
||||||
tmp = aField->GetText().CmpNoCase( bField->GetText() );
|
tmp = aField->GetText().compare( bField->GetText() );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( tmp == 0 )
|
if( tmp == 0 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user