diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2002-08-21 08:13:58 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2002-08-21 08:13:58 +0000 |
| commit | a816e4624aff8729408473bf7d1f8b3feaaa7c56 (patch) | |
| tree | 55f3a15be9abb30b850cb1418496e9acd27df48a /apps | |
| parent | b243e248dffb6377791d94e810b995375feba9ba (diff) | |
| download | rockbox-a816e4624aff8729408473bf7d1f8b3feaaa7c56.zip rockbox-a816e4624aff8729408473bf7d1f8b3feaaa7c56.tar.gz rockbox-a816e4624aff8729408473bf7d1f8b3feaaa7c56.tar.bz2 rockbox-a816e4624aff8729408473bf7d1f8b3feaaa7c56.tar.xz | |
store the correct index in the resume info when we fire up a single song in a
directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1838 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index b1da2bd..90e978a 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -507,6 +507,7 @@ bool dirbrowse(char *root) play_list(currdir, dircache[dircursor+start].name, 0, 0, seed ); + start_index = 0; } else { if ( global_settings.resume ) @@ -517,7 +518,7 @@ bool dirbrowse(char *root) } if ( global_settings.resume ) { - global_settings.resume_index = 0; + global_settings.resume_index = start_index; global_settings.resume_offset = 0; global_settings.resume_seed = seed; settings_save(); |