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:
parent
9e4efe5d72
commit
8ce12fb1af
|
@ -1173,7 +1173,7 @@ void PCB_IO_EAGLE::loadLibrary( wxXmlNode* aLib, const wxString* aLibName )
|
||||||
if( !urnOrdinal.IsEmpty() )
|
if( !urnOrdinal.IsEmpty() )
|
||||||
pack_ref += wxS( "_" ) + urnOrdinal;
|
pack_ref += wxS( "_" ) + urnOrdinal;
|
||||||
|
|
||||||
pack_ref = EscapeString( pack_ref, CTX_LIBID );
|
ReplaceIllegalFileNameChars( pack_ref, '_' );
|
||||||
|
|
||||||
m_xpath->Value( pack_ref.ToUTF8() );
|
m_xpath->Value( pack_ref.ToUTF8() );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue