Commit efa9c926 authored by faa's avatar faa

segfault eeschema at save whole project

parent 6993761f
...@@ -241,6 +241,9 @@ LIB_COMPONENT* CMP_LIBRARY::AddComponent( LIB_COMPONENT* aComponent ) ...@@ -241,6 +241,9 @@ LIB_COMPONENT* CMP_LIBRARY::AddComponent( LIB_COMPONENT* aComponent )
{ {
LIB_ALIAS* alias = FindAlias( newCmp->m_AliasList[ i ] ); LIB_ALIAS* alias = FindAlias( newCmp->m_AliasList[ i ] );
if( alias == NULL )
break;
if( alias->GetComponent()->GetName().CmpNoCase( newCmp->GetName() ) != 0 ) if( alias->GetComponent()->GetName().CmpNoCase( newCmp->GetName() ) != 0 )
{ {
wxString msg1; wxString msg1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment