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:
Wayne Stambaugh 2022-09-09 13:30:19 -04:00
parent b2a29e08a4
commit 26e7261b20
1 changed files with 1 additions and 1 deletions

View File

@ -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;