summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/scroll_engine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/scroll_engine.h b/firmware/export/scroll_engine.h
index ce230a218c..ee2dfb664b 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[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 */