From 383beeba8ec3e6f38fdcfcfd38a2f3709e033a81 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 3 Jan 2022 21:15:14 +0000 Subject: [PATCH] Fix font name that shouldn't be translated. --- common/font/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/font/font.cpp b/common/font/font.cpp index 413851e708..0a251b9a77 100644 --- a/common/font/font.cpp +++ b/common/font/font.cpp @@ -69,7 +69,7 @@ FONT* FONT::getDefaultFont() FONT* FONT::GetFont( const wxString& aFontName, bool aBold, bool aItalic ) { - if( aFontName.empty() || aFontName == _( "KiCad" ) ) + if( aFontName.empty() || aFontName == wxT( "KiCad" ) ) return getDefaultFont(); std::tuple key = { aFontName, aBold, aItalic };