From aee690195355aa2644bba8b4c0a110440669290c Mon Sep 17 00:00:00 2001 From: Tomer Shalev Date: Mon, 12 Oct 2009 04:28:56 +0000 Subject: LCD scrolling - fix a typo git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23124 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/lcd-bitmap-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3