Loading cvpcb/autosel.cpp +11 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,17 @@ void CVPCB_MAINFRAME::AssocieModule( wxCommandEvent& event ) for( ii = 0; ii < m_AliasLibNames.GetCount(); ii++ ) { fn = m_AliasLibNames[ii]; //msg.Printf( _( "Library: %s." ), // GetChars( fn.GetFullName() ) ); //wxMessageBox( msg, titleLibLoadError, wxOK | wxICON_ERROR ); if( !fn.HasExt() ) { fn.SetExt( FootprintAliasFileExtension ); // above fails if filename have more than one point } else { fn.SetExt( fn.GetExt() + wxT( "." ) + FootprintAliasFileExtension ); } tmp = wxGetApp().FindLibraryPath( fn ); if( !tmp ) Loading Loading
cvpcb/autosel.cpp +11 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,17 @@ void CVPCB_MAINFRAME::AssocieModule( wxCommandEvent& event ) for( ii = 0; ii < m_AliasLibNames.GetCount(); ii++ ) { fn = m_AliasLibNames[ii]; //msg.Printf( _( "Library: %s." ), // GetChars( fn.GetFullName() ) ); //wxMessageBox( msg, titleLibLoadError, wxOK | wxICON_ERROR ); if( !fn.HasExt() ) { fn.SetExt( FootprintAliasFileExtension ); // above fails if filename have more than one point } else { fn.SetExt( fn.GetExt() + wxT( "." ) + FootprintAliasFileExtension ); } tmp = wxGetApp().FindLibraryPath( fn ); if( !tmp ) Loading