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 {