From d035a9b0bc2e34ada1687a110fda75485938cf23 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 9 Oct 2002 13:42:59 +0000 Subject: 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 --- apps/wps-display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/wps-display.c') diff --git a/apps/wps-display.c b/apps/wps-display.c index b1a6788..2972fc0 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c @@ -313,7 +313,7 @@ static char* get_tag(struct mp3entry* id3, return buf; case 'e': /* Playlist Total Entries */ - snprintf(buf, buf_size, "%d", playlist.amount); + snprintf(buf, buf_size, "%d", playlist_amount()); return buf; case 'c': /* Current Time in Song */ -- cgit v1.1