diff options
Diffstat (limited to 'firmware/drivers/lcd-16bit.c')
-rw-r--r-- | firmware/drivers/lcd-16bit.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c index 08e62b828f..e98403aa1b 100644 --- a/firmware/drivers/lcd-16bit.c +++ b/firmware/drivers/lcd-16bit.c | |||
@@ -735,11 +735,6 @@ static void lcd_putsxyofs(int x, int y, int ofs, const unsigned char *str) | |||
735 | int width; | 735 | int width; |
736 | const unsigned char *bits; | 736 | const unsigned char *bits; |
737 | 737 | ||
738 | /* check input range */ | ||
739 | if (ch < pf->firstchar || ch >= pf->firstchar+pf->size) | ||
740 | ch = pf->defaultchar; | ||
741 | ch -= pf->firstchar; | ||
742 | |||
743 | /* get proportional width and glyph bits */ | 738 | /* get proportional width and glyph bits */ |
744 | width = font_get_width(pf,ch); | 739 | width = font_get_width(pf,ch); |
745 | 740 | ||