summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-01-17 21:43:10 +0000
committerJens Arnold <amiconn@rockbox.org>2005-01-17 21:43:10 +0000
commitcced503712e73dc8b0bc9377cab271dc110200ff (patch)
tree346d6c999e4ce1aa51999a9f5686dde744315199
parent57c129f34d06367fe1b1088a321a7f65332db382 (diff)
The current lcd_bitmap() implementation is safe for enabling partial font height drawing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5590 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/lcd-h100.c4
-rw-r--r--firmware/drivers/lcd-recorder.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/firmware/drivers/lcd-h100.c b/firmware/drivers/lcd-h100.c
index 075ba394b6..4330a5d8ca 100644
--- a/firmware/drivers/lcd-h100.c
+++ b/firmware/drivers/lcd-h100.c
@@ -362,10 +362,6 @@ static void lcd_putsxyofs(int x, int y, int ofs, const unsigned char *str)
ch = pf->defaultchar;
ch -= pf->firstchar;
- /* no partial-height drawing for now... */
- if (y + pf->height > LCD_HEIGHT)
- break;
-
/* get proportional width and glyph bits */
gwidth = pf->width ? pf->width[ch] : pf->maxwidth;
width = MIN (gwidth, LCD_WIDTH - x);
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c
index 8f8e9f9332..880717d277 100644
--- a/firmware/drivers/lcd-recorder.c
+++ b/firmware/drivers/lcd-recorder.c
@@ -389,10 +389,6 @@ static void lcd_putsxyofs(int x, int y, int ofs, const unsigned char *str)
ch = pf->defaultchar;
ch -= pf->firstchar;
- /* no partial-height drawing for now... */
- if (y + pf->height > LCD_HEIGHT)
- break;
-
/* get proportional width and glyph bits */
gwidth = pf->width ? pf->width[ch] : pf->maxwidth;
width = MIN (gwidth, LCD_WIDTH - x);