mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Remove extra layer of parens.
This commit is contained in:
parent
90bfe2d94b
commit
3bdae40881
@ -2212,21 +2212,19 @@ void FOOTPRINT::CheckFootprintAttributes( const std::function<void( const wxStri
|
||||
{
|
||||
wxString msg;
|
||||
|
||||
if( likelyAttr == FP_THROUGH_HOLE )
|
||||
switch( likelyAttr )
|
||||
{
|
||||
case FP_THROUGH_HOLE:
|
||||
msg.Printf( _( "(expected 'Through hole'; actual '%s')" ), GetTypeName() );
|
||||
}
|
||||
else if( likelyAttr == FP_SMD )
|
||||
{
|
||||
break;
|
||||
case FP_SMD:
|
||||
msg.Printf( _( "(expected 'SMD'; actual '%s')" ), GetTypeName() );
|
||||
}
|
||||
else
|
||||
{
|
||||
break;
|
||||
default:
|
||||
msg.Printf( _( "(expected 'Other'; actual '%s')" ), GetTypeName() );
|
||||
break;
|
||||
}
|
||||
|
||||
msg = wxT( "(" ) + msg + wxT( ")" );
|
||||
|
||||
(aErrorHandler)( msg );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user