From d69573e314a2524774a0dd7b0478c90c56c58546 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 2 Jul 2008 10:03:53 +0000 Subject: [PATCH] going out for a while and dont want to leave it partially broken.. ill re-enable this code later tonight/tomorow git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17915 a1c6a512-1295-4272-9138-f99709370657 --- firmware/scroll_engine.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/scroll_engine.c b/firmware/scroll_engine.c index 2b99c14daa..0b3de6f84a 100644 --- a/firmware/scroll_engine.c +++ b/firmware/scroll_engine.c @@ -88,6 +88,7 @@ void lcd_stop_scroll(void) static bool line_overlaps_viewport(struct viewport *lines_vp, int line, struct viewport *othervp) { +#if 0 #ifdef HAVE_LCD_BITMAP int y = (font_get(lines_vp->font)->height*line) + lines_vp->y; #else @@ -99,6 +100,8 @@ static bool line_overlaps_viewport(struct viewport *lines_vp, int line, (othervp->x + othervp->width < lines_vp->x)) return false; return true; +#endif + return false; } /* Stop scrolling line y in the specified viewport, or all lines if y < 0 */ void lcd_scroll_stop_line(struct viewport* current_vp, int y)