summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-04-03 00:18:14 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-04-03 00:18:14 +0000
commita91713a2161c8af54d6570e5f39d53fae3b6ba99 (patch)
treed2f017428d9556209ca74f0ce481342ffaaf406f /apps
parent0519391b60b54c4e8ea4ac324d70017ee0fa8ca6 (diff)
downloadrockbox-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.c4
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 */
}
else {
lcd_clearrect(0, y-2, LCD_WIDTH, LCD_HEIGHT-y*2+4);
- lcd_drawline(0, y-2, LCD_WIDTH, y-2);
- lcd_drawline(0, LCD_HEIGHT-y+2, LCD_WIDTH, LCD_HEIGHT-y+2);
+ lcd_drawline(0, y-2, LCD_WIDTH-1, y-2);
+ lcd_drawline(0, LCD_HEIGHT-y+2, LCD_WIDTH-1, LCD_HEIGHT-y+2);
}
}
else