fix glcd font

Origin commit data
------------------
Branch: ni/coolstream
Commit: 95c5972d94
Author: TangoCash <eric@loxat.de>
Date: 2022-10-31 (Mon, 31 Oct 2022)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2022-10-31 07:42:55 +01:00
committed by vanhofen
parent 7a79137467
commit 188f7bbad2

View File

@@ -659,7 +659,7 @@ void cGLCD::updateFonts()
if (!fonts_initialized || (fontsize_smalltext_new != fontsize_smalltext)) {
fontsize_smalltext = fontsize_smalltext_new;
if (!font_smalltext.LoadFT2(FONTDIR "/oled/terminator.ttf", "UTF-8", fontsize_smalltext)) {
if (!font_smalltext.LoadFT2(t.glcd_font, "UTF-8", fontsize_smalltext)) {
t.glcd_font = g_settings.font_file;
font_smalltext.LoadFT2(t.glcd_font, "UTF-8", fontsize_smalltext);
}