diff options
Diffstat (limited to 'firmware/drivers/lcd-2bit-horz.c')
-rw-r--r-- | firmware/drivers/lcd-2bit-horz.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/drivers/lcd-2bit-horz.c b/firmware/drivers/lcd-2bit-horz.c index a76ebe1f0d..bfb69da33b 100644 --- a/firmware/drivers/lcd-2bit-horz.c +++ b/firmware/drivers/lcd-2bit-horz.c | |||
@@ -703,11 +703,6 @@ static void lcd_putsxyofs(int x, int y, int ofs, const unsigned char *str) | |||
703 | int width; | 703 | int width; |
704 | const unsigned char *bits; | 704 | const unsigned char *bits; |
705 | 705 | ||
706 | /* check input range */ | ||
707 | if (ch < pf->firstchar || ch >= pf->firstchar+pf->size) | ||
708 | ch = pf->defaultchar; | ||
709 | ch -= pf->firstchar; | ||
710 | |||
711 | /* get proportional width and glyph bits */ | 706 | /* get proportional width and glyph bits */ |
712 | width = font_get_width(pf,ch); | 707 | width = font_get_width(pf,ch); |
713 | 708 | ||