diff options
Diffstat (limited to 'firmware/drivers/lcd-h100-remote.c')
-rw-r--r-- | firmware/drivers/lcd-h100-remote.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/drivers/lcd-h100-remote.c b/firmware/drivers/lcd-h100-remote.c index 58953f61b5..ffe6f1492c 100644 --- a/firmware/drivers/lcd-h100-remote.c +++ b/firmware/drivers/lcd-h100-remote.c | |||
@@ -1117,11 +1117,6 @@ static void lcd_remote_putsxyofs(int x, int y, int ofs, const unsigned char *str | |||
1117 | int width; | 1117 | int width; |
1118 | const unsigned char *bits; | 1118 | const unsigned char *bits; |
1119 | 1119 | ||
1120 | /* check input range */ | ||
1121 | if (ch < pf->firstchar || ch >= pf->firstchar+pf->size) | ||
1122 | ch = pf->defaultchar; | ||
1123 | ch -= pf->firstchar; | ||
1124 | |||
1125 | /* get proportional width and glyph bits */ | 1120 | /* get proportional width and glyph bits */ |
1126 | width = font_get_width(pf, ch); | 1121 | width = font_get_width(pf, ch); |
1127 | 1122 | ||