mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-12 06:32:34 -05:00
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:
parent
6bd82d35f0
commit
badee43656
1 changed files with 1 additions and 1 deletions
|
|
@ -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]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue