Fix default font name check

This commit is contained in:
Marek Roszko 2022-01-08 14:37:37 -05:00
parent aa8f091035
commit 263513b8cf
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ FONT* FONT::getDefaultFont()
FONT* FONT::GetFont( const wxString& aFontName, bool aBold, bool aItalic )
{
if( aFontName.empty() || aFontName == wxT( "KiCad" ) )
if( aFontName.empty() || aFontName == wxT( "KiCad Font" ) )
return getDefaultFont();
std::tuple<wxString, bool, bool> key = { aFontName, aBold, aItalic };