diff options
author | Tomer Shalev <shalev.tomer@gmail.com> | 2010-04-07 17:15:24 +0000 |
---|---|---|
committer | Tomer Shalev <shalev.tomer@gmail.com> | 2010-04-07 17:15:24 +0000 |
commit | 885863571f09865febbda87df315615ddafa0245 (patch) | |
tree | 4f3f56484eaf630f151d489f6a25564b3ff43cf1 | |
parent | c8ab419ed72ca5483e8db69db7d362aa5225ccf7 (diff) |
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
-rw-r--r-- | apps/plugins/viewer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |