summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-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 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 {