diff options
Diffstat (limited to 'firmware/drivers/lcd.c')
-rw-r--r-- | firmware/drivers/lcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c index 15d4955501..c470021de2 100644 --- a/firmware/drivers/lcd.c +++ b/firmware/drivers/lcd.c | |||
@@ -504,7 +504,7 @@ void lcd_getstringsize(char *str, unsigned int font, int *w, int *h) | |||
504 | 504 | ||
505 | while((ch = *str++)) { | 505 | while((ch = *str++)) { |
506 | /* Limit to char generation table */ | 506 | /* Limit to char generation table */ |
507 | if ((ch < ASCII_MIN) || (ch > 0x7a)) | 507 | if ((ch < ASCII_MIN) || (ch > 0xda)) |
508 | /* replace unsupported letters with question marks */ | 508 | /* replace unsupported letters with question marks */ |
509 | ch = ' '-ASCII_MIN; | 509 | ch = ' '-ASCII_MIN; |
510 | else | 510 | else |