Fix scroll_engine truncation
fix one off error Change-Id: I9b3b23c9f6c36107e73e511d8cb1bc5cd987e765
This commit is contained in:
parent
568b81202e
commit
8fb1740a78
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue