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.

(cherry picked from commit cf97432833)
This commit is contained in:
Wayne Stambaugh 2024-03-14 17:00:27 -04:00
parent 9e4efe5d72
commit 8ce12fb1af
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() );