summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-h100.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-h100.c')
-rw-r--r--firmware/drivers/lcd-h100.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/drivers/lcd-h100.c b/firmware/drivers/lcd-h100.c
index 1d80458679..8a06367112 100644
--- a/firmware/drivers/lcd-h100.c
+++ b/firmware/drivers/lcd-h100.c
@@ -1033,11 +1033,6 @@ static void lcd_putsxyofs(int x, int y, int ofs, const unsigned char *str)
1033 int width; 1033 int width;
1034 const unsigned char *bits; 1034 const unsigned char *bits;
1035 1035
1036 /* check input range */
1037 if (ch < pf->firstchar || ch >= pf->firstchar+pf->size)
1038 ch = pf->defaultchar;
1039 ch -= pf->firstchar;
1040
1041 /* get proportional width and glyph bits */ 1036 /* get proportional width and glyph bits */
1042 width = font_get_width(pf,ch); 1037 width = font_get_width(pf,ch);
1043 1038