From d257683f3edbb0a2b819b27d34c2708809d3d57d Mon Sep 17 00:00:00 2001 From: Marcoen Hirschberg Date: Wed, 22 Mar 2006 09:53:27 +0000 Subject: font caching fixes by Frank Dischner git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9178 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/lcd-recorder.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'firmware/drivers/lcd-recorder.c') 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) int width; const unsigned char *bits; - /* check input range */ - if (ch < pf->firstchar || ch >= pf->firstchar+pf->size) - ch = pf->defaultchar; - ch -= pf->firstchar; - /* get proportional width and glyph bits */ width = font_get_width(pf,ch); -- cgit v1.2.3