summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/lcd-bitmap-common.c1
-rw-r--r--firmware/export/scroll_engine.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c
index 586c74578f..8f0b61ef6a 100644
--- a/firmware/drivers/lcd-bitmap-common.c
+++ b/firmware/drivers/lcd-bitmap-common.c
@@ -367,7 +367,6 @@ void LCDFN(puts_scroll_style_offset)(int x, int y, const unsigned char *string,
367 367
368 s->vp = current_vp; 368 s->vp = current_vp;
369 s->y = y; 369 s->y = y;
370 s->len = utf8length(string);
371 s->offset = offset; 370 s->offset = offset;
372 s->startx = x * LCDFN(getstringsize)(" ", NULL, NULL); 371 s->startx = x * LCDFN(getstringsize)(" ", NULL, NULL);
373 s->backward = false; 372 s->backward = false;
diff --git a/firmware/export/scroll_engine.h b/firmware/export/scroll_engine.h
index 0fcb06af81..16b11c22ee 100644
--- a/firmware/export/scroll_engine.h
+++ b/firmware/export/scroll_engine.h
@@ -50,7 +50,9 @@ struct scrollinfo
50{ 50{
51 struct viewport* vp; 51 struct viewport* vp;
52 char line[SCROLL_LINE_SIZE]; 52 char line[SCROLL_LINE_SIZE];
53#ifdef HAVE_LCD_CHARCELLS
53 int len; /* length of line in chars */ 54 int len; /* length of line in chars */
55#endif
54 int y; /* Position of the line on the screen (char co-ordinates) */ 56 int y; /* Position of the line on the screen (char co-ordinates) */
55 int offset; 57 int offset;
56 int startx; 58 int startx;