Fix bug when footprint library file names contain dots. (fixes lp:593989)

This commit is contained in:
Wayne Stambaugh
2013-05-06 13:57:18 -04:00
parent 8430508272
commit 2be09ba9e2
2 changed files with 29 additions and 7 deletions
+2 -3
View File
@@ -481,9 +481,8 @@ MODULE* DISPLAY_FOOTPRINTS_FRAME::Get_Module( const wxString& aFootprintName )
for( unsigned i = 0; i < parent->m_ModuleLibNames.GetCount(); ++i )
{
wxFileName fn = parent->m_ModuleLibNames[i];
fn.SetExt( LegacyFootprintLibPathExtension );
wxFileName fn( wxEmptyString, parent->m_ModuleLibNames[i],
LegacyFootprintLibPathExtension );
wxString libPath = wxGetApp().FindLibraryPath( fn );