eeschema: segfault at add/del alias in libedit

This commit is contained in:
faa 2009-09-30 09:01:16 +00:00
parent b762f6aab7
commit bc047ad769
1 changed files with 1 additions and 1 deletions

View File

@ -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. */ /* 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 ); index = aliases.Index( component->m_AliasList[ i ], false );