summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorMark Arigo <markarigo@gmail.com>2009-09-05 00:46:49 +0000
committerMark Arigo <markarigo@gmail.com>2009-09-05 00:46:49 +0000
commitbcb3d5258224945d9dca6880b1be7318b62a50d4 (patch)
treefb58fbf24a86f3a0bcc1b47ae537931cd9628e78 /firmware
parent3c3d39e836034cd26635074228e7b80b844c64e1 (diff)
downloadrockbox-bcb3d5258224945d9dca6880b1be7318b62a50d4.tar.gz
rockbox-bcb3d5258224945d9dca6880b1be7318b62a50d4.tar.bz2
rockbox-bcb3d5258224945d9dca6880b1be7318b62a50d4.zip
Fix display bug in the Samsung YH-920 on partial lcd updates.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22626 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/samsung/yh920/lcd-yh920.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/samsung/yh920/lcd-yh920.c b/firmware/target/arm/samsung/yh920/lcd-yh920.c
index 6c1528b630..fe64728e21 100644
--- a/firmware/target/arm/samsung/yh920/lcd-yh920.c
+++ b/firmware/target/arm/samsung/yh920/lcd-yh920.c
@@ -281,7 +281,7 @@ void lcd_update_rect(int x0, int y, int width, int height)
addr = &lcd_framebuffer[y][x0];
lcd_send_cmd(LCD_CNTL_DATA_WRITE);
- for (x = x0; x < width; x++)
+ for (x = 0; x < width; x++)
lcd_send_data(*addr++);
}
}