Commit bc047ad7 authored by faa's avatar faa

eeschema: segfault at add/del alias in libedit

parent b762f6aa
......@@ -174,7 +174,7 @@ void DIALOG_EDIT_COMPONENT_IN_LIBRARY::OnOkClick( wxCommandEvent& event )
}
/* Remove names and library alias entries not in the new alias list. */
for( i = 0; component->m_AliasList.GetCount(); i++ )
for( i = 0; i < component->m_AliasList.GetCount(); i++ )
{
index = aliases.Index( component->m_AliasList[ i ], false );
......
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