1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jens Arnold 2005-01-17 21:43:10 +00:00
parent 57c129f34d
commit cced503712
2 changed files with 0 additions and 8 deletions

View file

@ -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);

View file

@ -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);