summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-10-08 03:56:37 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-10-08 03:56:37 +0000
commit573d3f284587b5c0aa70668e684cac89dc86e560 (patch)
tree2cec75076e8945788958687cb89aee00af766591
parent6317bef3ce53ff8e9e834017ca0696ac4803c8b1 (diff)
downloadrockbox-573d3f284587b5c0aa70668e684cac89dc86e560.tar.gz
rockbox-573d3f284587b5c0aa70668e684cac89dc86e560.zip
LCD scrolling routines: Fix the screen scrolling boundary with Vertical Strides.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23005 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/lib/xlcd_scroll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/xlcd_scroll.c b/apps/plugins/lib/xlcd_scroll.c
index 499dbf13a9..96e0715894 100644
--- a/apps/plugins/lib/xlcd_scroll.c
+++ b/apps/plugins/lib/xlcd_scroll.c
@@ -81,7 +81,7 @@ void xlcd_scroll_up(int count)
81 81
82 length = LCD_HEIGHT - count; 82 length = LCD_HEIGHT - count;
83 83
84 width = LCD_WIDTH; 84 width = LCD_WIDTH-1;
85 data = rb->lcd_framebuffer; 85 data = rb->lcd_framebuffer;
86 86
87 do { 87 do {
@@ -107,7 +107,7 @@ void xlcd_scroll_down(int count)
107 107
108 length = LCD_HEIGHT - count; 108 length = LCD_HEIGHT - count;
109 109
110 width = LCD_WIDTH; 110 width = LCD_WIDTH-1;
111 data = rb->lcd_framebuffer; 111 data = rb->lcd_framebuffer;
112 112
113 do { 113 do {