1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 05:48:43 +00:00

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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