summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2018-07-28 15:36:13 +0200
committerWilliam Wilgus <me.theuser@yahoo.com>2018-07-28 15:36:13 +0200
commit8fb1740a78f1f8a41cdfdbc644ab2db7599d3f43 (patch)
tree11293a24999e40f8c407a17b0fddac98504c0405 /firmware/export
parent568b81202ebd24a3f7e9efe0558b5f6beed05b44 (diff)
downloadrockbox-8fb1740a78f1f8a41cdfdbc644ab2db7599d3f43.tar.gz
rockbox-8fb1740a78f1f8a41cdfdbc644ab2db7599d3f43.zip
Fix scroll_engine truncation
fix one off error Change-Id: I9b3b23c9f6c36107e73e511d8cb1bc5cd987e765
Diffstat (limited to 'firmware/export')
-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 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);
67struct scrollinfo 67struct scrollinfo
68{ 68{
69 struct viewport* vp; 69 struct viewport* vp;
70 char linebuffer[(SCROLL_LINE_SIZE / 2) - 1]; 70 char linebuffer[(SCROLL_LINE_SIZE / 2) - SCROLL_SPACING];
71 const char *line; 71 const char *line;
72 /* rectangle for the line */ 72 /* rectangle for the line */
73 int x, y; /* relative to the viewort */ 73 int x, y; /* relative to the viewort */