Fix UTF8 conversion issue
The ternary needs a wxString object for both sides to reference the UTF8 functions Fixes https://gitlab.com/kicad/code/kicad/issues/5554
This commit is contained in:
parent
f7b30bf397
commit
cfcc3bbc0a
|
@ -88,7 +88,7 @@ bool NETLIST_EXPORTER_ORCADPCB2::WriteNetlist( const wxString& aOutFileName,
|
|||
|
||||
ret |= fprintf( f, " ( %s %s",
|
||||
TO_UTF8( sheet.PathAsString() + comp->m_Uuid.AsString() ),
|
||||
TO_UTF8( footprint.IsEmpty() ? wxT( "$noname" ) : footprint ) );
|
||||
TO_UTF8( footprint.IsEmpty() ? wxString( "$noname" ) : footprint ) );
|
||||
|
||||
field = comp->GetRef( &sheet );
|
||||
|
||||
|
|
Loading…
Reference in New Issue