Fix a stray ternary hidden under #if

This commit is contained in:
Marek Roszko 2023-02-12 16:46:08 -05:00
parent 837ba323fb
commit f409837d26
1 changed files with 2 additions and 2 deletions

View File

@ -1367,8 +1367,8 @@ void PAD::ViewGetLayers( int aLayers[], int& aCount ) const
{ {
wxString msg; wxString msg;
msg.Printf( wxT( "footprint %s, pad %s: could not find valid layer for pad" ), msg.Printf( wxT( "footprint %s, pad %s: could not find valid layer for pad" ),
GetParent() ? GetParent()->GetReference() : wxT( "<null>" ), GetParent() ? GetParent()->GetReference() : wxString( wxT( "<null>" ) ),
GetNumber().IsEmpty() ? wxT( "(unnumbered)" ) : GetNumber() ); GetNumber().IsEmpty() ? wxString(wxT( "(unnumbered)" ) ) : GetNumber() );
wxLogDebug( msg ); wxLogDebug( msg );
} }
#endif #endif