1
0
Fork 0
forked from len0rd/rockbox

splash() could draw the line outside the frame buffer

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3512 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2003-04-03 00:18:14 +00:00
parent 0519391b60
commit a91713a216

View file

@ -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