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,
222 /* remove any previously scrolling line at the same location */ 222 /* remove any previously scrolling line at the same location */
223 lcd_scroll_stop_line(current_vp, y); 223 lcd_scroll_stop_line(current_vp, y);
224 224
225 if (LCDFN(scroll_info.lines) >= LCDM(SCROLLABLE_LINES)) return; 225 if (LCDFN(scroll_info).lines >= LCDM(SCROLLABLE_LINES)) return;
226 if (!string) 226 if (!string)
227 return; 227 return;
228 LCDFN(puts_style_offset)(x, y, string, style, offset); 228 LCDFN(puts_style_offset)(x, y, string, style, offset);