eeschema: fix alias names in .dcm files
Fixes: lp:1781761 * https://bugs.launchpad.net/kicad/+bug/1781761
This commit is contained in:
parent
01c5bdfb8f
commit
8ba694e6fd
|
@ -2417,7 +2417,7 @@ void SCH_LEGACY_PLUGIN_CACHE::loadDocs()
|
|||
SCH_PARSE_ERROR( "$CMP command expected", reader, line );
|
||||
|
||||
parseUnquotedString( aliasName, reader, line, &line ); // Alias name.
|
||||
LIB_ID::FixIllegalChars( aliasName, LIB_ID::ID_ALIAS );
|
||||
aliasName = LIB_ID::FixIllegalChars( aliasName, LIB_ID::ID_ALIAS );
|
||||
LIB_ALIAS_MAP::iterator it = m_aliases.find( aliasName );
|
||||
|
||||
if( it == m_aliases.end() )
|
||||
|
|
Loading…
Reference in New Issue