diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-04-03 00:18:14 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-04-03 00:18:14 +0000 |
commit | a91713a2161c8af54d6570e5f39d53fae3b6ba99 (patch) | |
tree | d2f017428d9556209ca74f0ce481342ffaaf406f /apps | |
parent | 0519391b60b54c4e8ea4ac324d70017ee0fa8ca6 (diff) | |
download | rockbox-a91713a2161c8af54d6570e5f39d53fae3b6ba99.tar.gz rockbox-a91713a2161c8af54d6570e5f39d53fae3b6ba99.zip |
splash() could draw the line outside the frame buffer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3512 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/screens.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/screens.c b/apps/screens.c index 1dec09a8b6..2e120de4ab 100644 --- a/apps/screens.c +++ b/apps/screens.c | |||
@@ -575,8 +575,8 @@ void splash(int ticks, /* how long */ | |||
575 | } | 575 | } |
576 | else { | 576 | else { |
577 | lcd_clearrect(0, y-2, LCD_WIDTH, LCD_HEIGHT-y*2+4); | 577 | lcd_clearrect(0, y-2, LCD_WIDTH, LCD_HEIGHT-y*2+4); |
578 | lcd_drawline(0, y-2, LCD_WIDTH, y-2); | 578 | lcd_drawline(0, y-2, LCD_WIDTH-1, y-2); |
579 | lcd_drawline(0, LCD_HEIGHT-y+2, LCD_WIDTH, LCD_HEIGHT-y+2); | 579 | lcd_drawline(0, LCD_HEIGHT-y+2, LCD_WIDTH-1, LCD_HEIGHT-y+2); |
580 | } | 580 | } |
581 | } | 581 | } |
582 | else | 582 | else |