Fix Eagle footprint library QA test failure.

Unfortunately the KiCad library I/O does not unescape file names so do not
escape them in the Eagle board plugin.
This commit is contained in:
Wayne Stambaugh 2024-03-14 17:00:27 -04:00
parent f22f5f47cb
commit cf97432833
1 changed files with 1 additions and 1 deletions

View File

@ -1173,7 +1173,7 @@ void PCB_IO_EAGLE::loadLibrary( wxXmlNode* aLib, const wxString* aLibName )
if( !urnOrdinal.IsEmpty() )
pack_ref += wxS( "_" ) + urnOrdinal;
pack_ref = EscapeString( pack_ref, CTX_LIBID );
ReplaceIllegalFileNameChars( pack_ref, '_' );
m_xpath->Value( pack_ref.ToUTF8() );