1
0
Fork 0
forked from len0rd/rockbox

Added next/previous track

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1211 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-06-26 23:25:03 +00:00
parent 72315c29fa
commit a72f95c2ba
5 changed files with 54 additions and 35 deletions

View file

@ -319,11 +319,7 @@ static int new_file(bool next_track)
{
char *trackname;
if (next_track)
trackname = peek_next_track(0);
else
trackname = peek_prev_track(0);
trackname = peek_next_track( next_track ? 1 : -1 );
if ( !trackname )
return -1;