Fix scroll_engine truncation

fix one off error

Change-Id: I9b3b23c9f6c36107e73e511d8cb1bc5cd987e765
This commit is contained in:
William Wilgus 2018-07-28 15:36:13 +02:00
parent 568b81202e
commit 8fb1740a78

View file

@ -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 */