summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-recorder.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-recorder.c')
-rw-r--r--firmware/drivers/lcd-recorder.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c
index 7a44acf590..89b041dc3d 100644
--- a/firmware/drivers/lcd-recorder.c
+++ b/firmware/drivers/lcd-recorder.c
@@ -886,11 +886,6 @@ static void lcd_putsxyofs(int x, int y, int ofs, const unsigned char *str)
886 int width; 886 int width;
887 const unsigned char *bits; 887 const unsigned char *bits;
888 888
889 /* check input range */
890 if (ch < pf->firstchar || ch >= pf->firstchar+pf->size)
891 ch = pf->defaultchar;
892 ch -= pf->firstchar;
893
894 /* get proportional width and glyph bits */ 889 /* get proportional width and glyph bits */
895 width = font_get_width(pf,ch); 890 width = font_get_width(pf,ch);
896 891