summaryrefslogtreecommitdiff
path: root/apps/wps-display.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-12-12 13:34:27 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-12-12 13:34:27 +0000
commit8e43ccbec69cb5fc1db2b5e65ffd48e00bd308e5 (patch)
tree1827ad626e8bd7bd691f359045ba978b1a236f25 /apps/wps-display.c
parentca710622210c6832ca8402472c1023538aff41a8 (diff)
Initial suppport for building Rockbox for Neo. The Neo has a different
key layout so we need to check for this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4138 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r--apps/wps-display.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c
index 846cea20d9..68d3eb531d 100644
--- a/apps/wps-display.c
+++ b/apps/wps-display.c
@@ -414,6 +414,7 @@ static char* get_tag(struct mp3entry* id3,
#endif
case 'f': /* full-line progress bar */
#ifdef HAVE_LCD_CHARCELLS
+#ifndef HAVE_NEO_LCD
if(has_new_lcd()) {
*flags |= WPS_REFRESH_PLAYER_PROGRESS;
*flags |= WPS_REFRESH_DYNAMIC;
@@ -421,7 +422,10 @@ static char* get_tag(struct mp3entry* id3,
/* we need 11 characters (full line) for
progress-bar */
snprintf(buf, buf_size, " ");
- } else {
+ }
+ else
+#endif /* HAVE_NEO_LCD */
+ {
/* Tell the user if we have an OldPlayer */
snprintf(buf, buf_size, " <Old LCD> ");
}