diff --git a/src/gui.cpp b/src/gui.cpp index fd83007..868a013 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -5531,7 +5531,6 @@ void DoMenu() { void Infoboxprint(const char* input) { int length = strlen(input); int newlineIndex = -1; - uint8_t font = (language == LANGUAGE_CHS) ? 6 : 7; // six seven for (int i = 0; i < length; i++) { if (input[i] == '\n') { @@ -5554,8 +5553,8 @@ void Infoboxprint(const char* input) { tftPrint(ACENTER, line1, 155, 40, ActiveColor, ActiveColorSmooth, 28); tftPrint(ACENTER, line2, 155, 70, ActiveColor, ActiveColorSmooth, 28); } else { - FrequencySprite.drawString(line1, 100, 5, font); - FrequencySprite.drawString(line2, 100, 25, font); + FrequencySprite.drawString(line1, 100, 5, 1); + FrequencySprite.drawString(line2, 100, 25, 1); } free(line1); free(line2); @@ -5564,7 +5563,7 @@ void Infoboxprint(const char* input) { tftPrint(ACENTER, input, 155, 78, ActiveColor, ActiveColorSmooth, 28); } else if (setupmode) { tftPrint(ACENTER, input, 155, 70, ActiveColor, ActiveColorSmooth, 28); - } else FrequencySprite.drawString(input, 100, 15, font); + } else FrequencySprite.drawString(input, 100, 15, 1); } }