Fix typo in a copy/paste and a minor compil warning
This commit is contained in:
parent
bc710e3d97
commit
2485648a54
|
@ -145,10 +145,6 @@ void FONTCONFIG::ListFonts( std::vector<std::string>& aFonts )
|
|||
if( !outline )
|
||||
continue;
|
||||
|
||||
FcStrSet* langStrSet = FcLangSetGetLangs( langSet );
|
||||
FcStrList* langStrList = FcStrListCreate( langStrSet );
|
||||
FcChar8* langStr = FcStrListNext( langStrList );
|
||||
|
||||
std::string theFamily( reinterpret_cast<char *>( family ) );
|
||||
|
||||
#ifdef __WXMAC__
|
||||
|
@ -159,6 +155,9 @@ void FONTCONFIG::ListFonts( std::vector<std::string>& aFonts )
|
|||
// GTK, on the other hand, doesn't appear to support wxLocale::IsAvailable(),
|
||||
// so we can't run these checks.
|
||||
|
||||
FcStrSet* langStrSet = FcLangSetGetLangs( langSet );
|
||||
FcStrList* langStrList = FcStrListCreate( langStrSet );
|
||||
FcChar8* langStr = FcStrListNext( langStrList );
|
||||
bool langSupported = false;
|
||||
|
||||
if( !langStr )
|
||||
|
|
|
@ -420,8 +420,8 @@ int BOARD_INSPECTION_TOOL::InspectClearance( const TOOL_EVENT& aEvent )
|
|||
reportCompileError( r );
|
||||
|
||||
r->Report( "" );
|
||||
r->Report( wxString::Format( _( "Minimum thermal spoke count: %s." ),
|
||||
StringFromValue( units, width, true ) ) );
|
||||
r->Report( wxString::Format( _( "Minimum thermal spoke count: %d." ),
|
||||
minSpokes ) );
|
||||
|
||||
std::shared_ptr<CONNECTIVITY_DATA> connectivity = pad->GetBoard()->GetConnectivity();
|
||||
const KICAD_T zones[] = { PCB_ZONE_T, EOT };
|
||||
|
|
Loading…
Reference in New Issue