summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/lcd-bitmap-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c
index cb465fa4be..8fc7c1b18c 100644
--- a/firmware/drivers/lcd-bitmap-common.c
+++ b/firmware/drivers/lcd-bitmap-common.c
@@ -222,7 +222,7 @@ void LCDFN(puts_scroll_style_offset)(int x, int y, const unsigned char *string,
/* remove any previously scrolling line at the same location */
lcd_scroll_stop_line(current_vp, y);
- if (LCDFN(scroll_info.lines) >= LCDM(SCROLLABLE_LINES)) return;
+ if (LCDFN(scroll_info).lines >= LCDM(SCROLLABLE_LINES)) return;
if (!string)
return;
LCDFN(puts_style_offset)(x, y, string, style, offset);