Fix lcd-scroll.c truncation warnings
Change-Id: I312ec7ad06fde5b2f9747661cd2d4ffcb4cbf755
This commit is contained in:
parent
1054b5748c
commit
ff7d2bdee1
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[9*MAX_PATH/10];
|
||||
char linebuffer[(SCROLL_LINE_SIZE / 2) - 1];
|
||||
const char *line;
|
||||
/* rectangle for the line */
|
||||
int x, y; /* relative to the viewort */
|
||||
|
|
Loading…
Reference in a new issue