summaryrefslogtreecommitdiff
path: root/apps/wps.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-10-09 13:42:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-10-09 13:42:59 +0000
commitd035a9b0bc2e34ada1687a110fda75485938cf23 (patch)
treee8881f7fa9f3c5a9c0e843ca5baf768cdfc89d77 /apps/wps.c
parenta5c0fad61763d2e9f2648c1afdd6f88f6d36859b (diff)
downloadrockbox-d035a9b0bc2e34ada1687a110fda75485938cf23.zip
rockbox-d035a9b0bc2e34ada1687a110fda75485938cf23.tar.gz
rockbox-d035a9b0bc2e34ada1687a110fda75485938cf23.tar.bz2
rockbox-d035a9b0bc2e34ada1687a110fda75485938cf23.tar.xz
the playlist variables are now all static, and the wps code use the new
playlist_amount() function to get amount of songs in the current list. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2549 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps.c')
-rw-r--r--apps/wps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/wps.c b/apps/wps.c
index e501381..d2e89ad 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -220,7 +220,7 @@ static int browse_id3(void)
case 5:
lcd_puts(0, 0, str(LANG_ID3_PLAYLIST));
snprintf(scroll_text,sizeof(scroll_text), "%d/%d",
- id3->index + 1, playlist.amount);
+ id3->index + 1, playlist_amount());
lcd_puts_scroll(0, 1, scroll_text);
break;