Skip to content

Commit

Permalink
Fix ExtUI automatic font scaling (#18377)
Browse files Browse the repository at this point in the history
  • Loading branch information
RudolphRiedel authored Jun 22, 2020
1 parent 07966ea commit e65e2f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e65e2f3

Please sign in to comment.