From e83c6f3b24e2bd133bc1eaaf91a7ec5acff294d3 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 7 Jun 2005 13:46:48 +0000 Subject: [PATCH] Max WPS lines now dependent on LCD height git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6593 a1c6a512-1295-4272-9138-f99709370657 --- apps/wps-display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wps-display.c b/apps/wps-display.c index 1ed70541dc..39d0475886 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c @@ -53,7 +53,7 @@ #define WPS_CONFIG ROCKBOX_DIR "/default.wps" #ifdef HAVE_LCD_BITMAP -#define MAX_LINES 13 +#define MAX_LINES (LCD_HEIGHT/5+1) #define FORMAT_BUFFER_SIZE 800 #else #define MAX_LINES 2