Eeschema: fix schematic symbol library cache refresh bug.
Please note that this changes the LIB_PIN object name comparison from case insensitive to case sensitive. Fixes https://gitlab.com/kicad/code/kicad/-/issues/12342
This commit is contained in:
parent
b2a29e08a4
commit
26e7261b20
|
@ -903,7 +903,7 @@ int LIB_PIN::compare( const LIB_ITEM& aOther, int aCompareFlags ) const
|
||||||
if( !( aCompareFlags & COMPARE_FLAGS::UNIT ) && m_number != tmp->m_number )
|
if( !( aCompareFlags & COMPARE_FLAGS::UNIT ) && m_number != tmp->m_number )
|
||||||
return m_number.Cmp( tmp->m_number );
|
return m_number.Cmp( tmp->m_number );
|
||||||
|
|
||||||
int result = m_name.CmpNoCase( tmp->m_name );
|
int result = m_name.Cmp( tmp->m_name );
|
||||||
|
|
||||||
if( result )
|
if( result )
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue