LCD scrolling - fix a typo

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23124 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tomer Shalev 2009-10-12 04:28:56 +00:00
parent f2bf463d90
commit aee6901953

View file

@ -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 */ /* remove any previously scrolling line at the same location */
lcd_scroll_stop_line(current_vp, y); 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) if (!string)
return; return;
LCDFN(puts_style_offset)(x, y, string, style, offset); LCDFN(puts_style_offset)(x, y, string, style, offset);