Frédéric Dang Ngoc pointed out a bug in the lcd_update_rect() for X11.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2495 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-10-04 07:41:33 +00:00
parent 6bd82d35f0
commit badee43656

View file

@ -115,7 +115,7 @@ void lcd_update_rect(int x_start, int y_start,
if(ymax >= LCD_HEIGHT/8)
ymax = LCD_HEIGHT/8-1;
for(; yline<ymax; yline++) {
for(; yline<=ymax; yline++) {
y = yline * 8;
for(x=x_start; x<xmax; x++) {
if(lcd_framebuffer[x][yline] || lcd_framebuffer_copy[x][yline]) {