From 573d3f284587b5c0aa70668e684cac89dc86e560 Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Thu, 8 Oct 2009 03:56:37 +0000 Subject: 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 --- apps/plugins/lib/xlcd_scroll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins') 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) 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 { -- cgit v1.2.3