eeschema: fix alias names in .dcm files

Fixes: lp:1781761
* https://bugs.launchpad.net/kicad/+bug/1781761
This commit is contained in:
Maciej Suminski 2018-07-16 12:02:20 +02:00
parent b23b48b9a7
commit 6bd8cb9b8f
1 changed files with 1 additions and 1 deletions

View File

@ -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() )