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.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/wps.c') 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; -- cgit v1.1