mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Try to fix an ambiguous cast for MSVC
This commit is contained in:
parent
eb473012a6
commit
4248f26bae
@ -306,9 +306,9 @@ wxString LIB_SYMBOL::GetUnitDisplayName( int aUnit, bool aLabel ) const
|
||||
wxString LIB_SYMBOL::GetBodyStyleDescription( int aBodyStyle, bool aLabel ) const
|
||||
{
|
||||
if( aBodyStyle == BODY_STYLE::DEMORGAN )
|
||||
return aLabel ? _( "Alternate" ) : _HKI( "Alternate" );
|
||||
return aLabel ? _( "Alternate" ) : wxString( _HKI( "Alternate" ) );
|
||||
else if( aBodyStyle == BODY_STYLE::BASE )
|
||||
return aLabel ? _( "Standard" ) : _HKI( "Standard" );
|
||||
return aLabel ? _( "Standard" ) : wxString( _HKI( "Standard" ) );
|
||||
else
|
||||
return wxT( "?" );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user