summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/credits.c4
1 files 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<numnames?credits[line+i]:"");
snprintf(buffer, sizeof(buffer), " [Credits] %2d/%2d ",
line+1, numnames);