diff options
Diffstat (limited to 'firmware/drivers/lcd-bitmap-common.c')
-rw-r--r-- | firmware/drivers/lcd-bitmap-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c index fb49deb76b..878c08863b 100644 --- a/firmware/drivers/lcd-bitmap-common.c +++ b/firmware/drivers/lcd-bitmap-common.c @@ -453,7 +453,7 @@ void LCDFN(scroll_fn)(void) continue; LCDFN(set_viewport)(s->vp); - height = s->vp->line_height; + height = s->vp->line_height ?: (int)font_get(s->vp->font)->height; if (s->backward) s->offset -= LCDFN(scroll_info).step; |