diff options
| author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-10-08 03:56:37 +0000 |
|---|---|---|
| committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-10-08 03:56:37 +0000 |
| commit | 573d3f284587b5c0aa70668e684cac89dc86e560 (patch) | |
| tree | 2cec75076e8945788958687cb89aee00af766591 /apps/plugins/lib/xlcd_scroll.c | |
| parent | 6317bef3ce53ff8e9e834017ca0696ac4803c8b1 (diff) | |
| download | rockbox-573d3f284587b5c0aa70668e684cac89dc86e560.zip rockbox-573d3f284587b5c0aa70668e684cac89dc86e560.tar.gz rockbox-573d3f284587b5c0aa70668e684cac89dc86e560.tar.bz2 rockbox-573d3f284587b5c0aa70668e684cac89dc86e560.tar.xz | |
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
Diffstat (limited to 'apps/plugins/lib/xlcd_scroll.c')
| -rw-r--r-- | apps/plugins/lib/xlcd_scroll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/xlcd_scroll.c b/apps/plugins/lib/xlcd_scroll.c index 499dbf1..96e0715 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) length = LCD_HEIGHT - count; - width = LCD_WIDTH; + width = LCD_WIDTH-1; data = rb->lcd_framebuffer; do { @@ -107,7 +107,7 @@ void xlcd_scroll_down(int count) length = LCD_HEIGHT - count; - width = LCD_WIDTH; + width = LCD_WIDTH-1; data = rb->lcd_framebuffer; do { |