Fix a stray ternary hidden under #if
This commit is contained in:
parent
837ba323fb
commit
f409837d26
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue