diff options
| author | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-08-26 21:15:07 +0000 |
|---|---|---|
| committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-08-26 21:15:07 +0000 |
| commit | 5d36aaf249f4f7baf752f3ecc5c252de05cd7166 (patch) | |
| tree | bedfc311a9a72d07957627f4c4d829f586f83ca9 /firmware/drivers | |
| parent | 033ba1669b1e4c7c29e0e4d4d3573a75b681abb5 (diff) | |
| download | rockbox-5d36aaf249f4f7baf752f3ecc5c252de05cd7166.zip rockbox-5d36aaf249f4f7baf752f3ecc5c252de05cd7166.tar.gz rockbox-5d36aaf249f4f7baf752f3ecc5c252de05cd7166.tar.bz2 rockbox-5d36aaf249f4f7baf752f3ecc5c252de05cd7166.tar.xz | |
New font format (already rotated) saves code, space and time. On the downside this new format is incompatible, so get the new fonts, too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5015 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
| -rw-r--r-- | firmware/drivers/lcd-recorder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c index c9781e7..a791a79 100644 --- a/firmware/drivers/lcd-recorder.c +++ b/firmware/drivers/lcd-recorder.c @@ -407,14 +407,14 @@ static void lcd_putsxyofs(int x, int y, int ofs, const unsigned char *str) if (width > 0) { unsigned int i; - bitmap_t* bits = pf->bits + + unsigned char* bits = pf->bits + (pf->offset ? pf->offset[ch] : (pf->height * ch)); if (ofs != 0) { for (i = 0; i < pf->height; i += 8) { - lcd_bitmap (((unsigned char*) bits) + ofs, x, y + i, width, + lcd_bitmap (bits + ofs, x, y + i, width, MIN(8, pf->height - i), true); bits = (bitmap_t *)((int)bits + gwidth); } |