Text viewer: Use exact width for lcd_fillrect (no actuall change)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25513 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tomer Shalev 2010-04-07 17:15:24 +00:00
parent c8ab419ed7
commit 885863571f

View file

@ -1450,7 +1450,7 @@ static void viewer_draw(int col)
#ifdef HAVE_LCD_BITMAP
{
rb->lcd_set_drawmode(DRMODE_BG|DRMODE_FG);
rb->lcd_fillrect(left_col, dy, LCD_WIDTH, pf->height);
rb->lcd_fillrect(left_col, dy, LCD_WIDTH - left_col, pf->height);
rb->lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID);
}
rb->lcd_putsxy(dx, dy, utf8_buffer);