eeschema: fix alias names in .dcm files
Fixes: lp:1781761 * https://bugs.launchpad.net/kicad/+bug/1781761
This commit is contained in:
parent
b23b48b9a7
commit
6bd8cb9b8f
|
@ -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