summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-10-04 07:41:33 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-10-04 07:41:33 +0000
commitbadee43656b6e4ad357bb99b8333dc814b4b753f (patch)
treed54a41f032878ef22b3e7bf44d09db0f7b820a62 /uisimulator/x11
parent6bd82d35f03e3cf666b632258e0f534c99ff5501 (diff)
downloadrockbox-badee43656b6e4ad357bb99b8333dc814b4b753f.tar.gz
rockbox-badee43656b6e4ad357bb99b8333dc814b4b753f.zip
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
Diffstat (limited to 'uisimulator/x11')
-rw-r--r--uisimulator/x11/lcd-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/x11/lcd-x11.c b/uisimulator/x11/lcd-x11.c
index 7547008172..c28a2b9528 100644
--- a/uisimulator/x11/lcd-x11.c
+++ b/uisimulator/x11/lcd-x11.c
@@ -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]) {