From f124e1499c6c9ae9e75010270c343e2018077302 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 17 Jan 2005 00:59:54 +0000 Subject: [PATCH] Bitmapped roll_credits() didn't use the defined LCD height. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5571 a1c6a512-1295-4272-9138-f99709370657 --- apps/credits.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/credits.c b/apps/credits.c index 3f3a6c5f08..190a77edcd 100644 --- a/apps/credits.c +++ b/apps/credits.c @@ -68,7 +68,7 @@ void roll_credits(void) int numnames = sizeof(credits)/sizeof(char*); char buffer[40]; - int y=64; + int y=LCD_HEIGHT; int height; int width; @@ -79,7 +79,7 @@ void roll_credits(void) while(1) { lcd_clear_display(); - for ( i=0; i <= (64-y)/height; i++ ) + for ( i=0; i <= (LCD_HEIGHT-y)/height; i++ ) lcd_putsxy(0, i*height+y, line+i