diff --git a/eeschema/sch_eagle_plugin.cpp b/eeschema/sch_eagle_plugin.cpp index c9ccc2f5c5..983607b7fe 100644 --- a/eeschema/sch_eagle_plugin.cpp +++ b/eeschema/sch_eagle_plugin.cpp @@ -1262,6 +1262,7 @@ EAGLE_LIBRARY* SCH_EAGLE_PLUGIN::loadLibrary( wxXmlNode* aLibraryNode, wxString symbolName = edeviceset.name + edevice.name; symbolName.Replace( "*", "" ); wxASSERT( !symbolName.IsEmpty() ); + LIB_ALIAS::ValidateName( symbolName ); if( edevice.package ) aEagleLibrary->package[symbolName] = edevice.package.Get();