From a91713a2161c8af54d6570e5f39d53fae3b6ba99 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 3 Apr 2003 00:18:14 +0000 Subject: splash() could draw the line outside the frame buffer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3512 a1c6a512-1295-4272-9138-f99709370657 --- apps/screens.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/screens.c') 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 -- cgit v1.2.3