From 885863571f09865febbda87df315615ddafa0245 Mon Sep 17 00:00:00 2001 From: Tomer Shalev Date: Wed, 7 Apr 2010 17:15:24 +0000 Subject: 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 --- apps/plugins/viewer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index 1a8b5f140e..fbc70fc9ff 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c @@ -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); -- cgit v1.2.3