mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 00:21:25 +00:00
Fix usage of CmpNoCase in SymbolNameInUse
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20165
This commit is contained in:
parent
e44eed6e6b
commit
49a5b44220
@ -683,7 +683,7 @@ bool SYMBOL_LIBRARY_MANAGER::SymbolNameInUse( const wxString& aName, const wxStr
|
||||
|
||||
for( wxString& candidate : existing )
|
||||
{
|
||||
if( candidate.CmpNoCase( aName ) )
|
||||
if( candidate.CmpNoCase( aName ) == 0 )
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user