Remove locale printf test.

This commit is contained in:
Jeff Young 2021-11-17 20:04:06 +00:00
parent 3495135b08
commit 60a1ca2c67
1 changed files with 3 additions and 3 deletions

View File

@ -90,9 +90,9 @@ void GRID_MENU::BuildChoiceList( wxArrayString* aGridsList, APP_SETTINGS_BASE* a
{ {
int val = (int) ValueFromString( EDA_UNITS::MILLIMETRES, gridSize ); int val = (int) ValueFromString( EDA_UNITS::MILLIMETRES, gridSize );
msg = _( "Grid" ) + wxString::Format( wxT( ": %s (%s)" ), msg.Printf( wxT( "Grid: %s (%s)" ),
MessageTextFromValue( primaryUnit, val ), MessageTextFromValue( primaryUnit, val ),
MessageTextFromValue( secondaryUnit, val ) ); MessageTextFromValue( secondaryUnit, val ) );
aGridsList->Add( msg ); aGridsList->Add( msg );
} }