Fix font name that shouldn't be translated.
This commit is contained in:
parent
72340fcee2
commit
383beeba8e
|
@ -69,7 +69,7 @@ FONT* FONT::getDefaultFont()
|
||||||
|
|
||||||
FONT* FONT::GetFont( const wxString& aFontName, bool aBold, bool aItalic )
|
FONT* FONT::GetFont( const wxString& aFontName, bool aBold, bool aItalic )
|
||||||
{
|
{
|
||||||
if( aFontName.empty() || aFontName == _( "KiCad" ) )
|
if( aFontName.empty() || aFontName == wxT( "KiCad" ) )
|
||||||
return getDefaultFont();
|
return getDefaultFont();
|
||||||
|
|
||||||
std::tuple<wxString, bool, bool> key = { aFontName, aBold, aItalic };
|
std::tuple<wxString, bool, bool> key = { aFontName, aBold, aItalic };
|
||||||
|
|
Loading…
Reference in New Issue