summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-06-07 13:46:48 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-06-07 13:46:48 +0000
commite83c6f3b24e2bd133bc1eaaf91a7ec5acff294d3 (patch)
tree0aaade859173c1db60758497381cf016d2a8c61c
parent4fb816df85cfbee060bae08042181d5f3654facc (diff)
downloadrockbox-e83c6f3b24e2bd133bc1eaaf91a7ec5acff294d3.zip
rockbox-e83c6f3b24e2bd133bc1eaaf91a7ec5acff294d3.tar.gz
rockbox-e83c6f3b24e2bd133bc1eaaf91a7ec5acff294d3.tar.bz2
rockbox-e83c6f3b24e2bd133bc1eaaf91a7ec5acff294d3.tar.xz
Max WPS lines now dependent on LCD height
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6593 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/wps-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c
index 1ed7054..39d0475 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