summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-recorder.c
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2006-03-22 09:53:27 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2006-03-22 09:53:27 +0000
commitd257683f3edbb0a2b819b27d34c2708809d3d57d (patch)
tree94ad35018c304fa345f1b1963cc49493086b39a5 /firmware/drivers/lcd-recorder.c
parentd0e8c57b779bbf96d84c5251465dc92303df5424 (diff)
font caching fixes by Frank Dischner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9178 a1c6a512-1295-4272-9138-f99709370657
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)
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);