Fix ExtUI automatic font scaling (#18377)

This commit is contained in:
RudolphRiedel 2020-06-22 22:41:01 +02:00 committed by GitHub
parent 07966ea82b
commit e65e2f33f1
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -315,7 +315,7 @@ class CommandProcessor : public CLCD::CommandFifo {
#ifdef TOUCH_UI_USE_UTF8 #ifdef TOUCH_UI_USE_UTF8
const bool is_utf8 = has_utf8_chars(text); const bool is_utf8 = has_utf8_chars(text);
#endif #endif
for (;font >= 26;) { for (;font > 26;) {
int16_t width, height; int16_t width, height;
#ifdef TOUCH_UI_USE_UTF8 #ifdef TOUCH_UI_USE_UTF8
if (is_utf8) { if (is_utf8) {