From 8fb1740a78f1f8a41cdfdbc644ab2db7599d3f43 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sat, 28 Jul 2018 15:36:13 +0200 Subject: Fix scroll_engine truncation fix one off error Change-Id: I9b3b23c9f6c36107e73e511d8cb1bc5cd987e765 --- firmware/export/scroll_engine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export') diff --git a/firmware/export/scroll_engine.h b/firmware/export/scroll_engine.h index ee2dfb664b..1326812265 100644 --- a/firmware/export/scroll_engine.h +++ b/firmware/export/scroll_engine.h @@ -67,7 +67,7 @@ extern bool lcd_remote_scroll_now(struct scrollinfo *scroll); struct scrollinfo { struct viewport* vp; - char linebuffer[(SCROLL_LINE_SIZE / 2) - 1]; + char linebuffer[(SCROLL_LINE_SIZE / 2) - SCROLL_SPACING]; const char *line; /* rectangle for the line */ int x, y; /* relative to the viewort */ -- cgit v1.2.3