diff options
Diffstat (limited to 'apps/filetree.c')
-rw-r--r-- | apps/filetree.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/apps/filetree.c b/apps/filetree.c index 60443a163c..c7a2dbf071 100644 --- a/apps/filetree.c +++ b/apps/filetree.c | |||
@@ -447,13 +447,11 @@ int ft_enter(struct tree_context* c) | |||
447 | } | 447 | } |
448 | 448 | ||
449 | if ( play ) { | 449 | if ( play ) { |
450 | if ( global_settings.resume ) { | 450 | /* the resume_index must always be the index in the |
451 | /* the resume_index must always be the index in the | 451 | shuffled list in case shuffle is enabled */ |
452 | shuffled list in case shuffle is enabled */ | 452 | global_settings.resume_index = start_index; |
453 | global_settings.resume_index = start_index; | 453 | global_settings.resume_offset = 0; |
454 | global_settings.resume_offset = 0; | 454 | settings_save(); |
455 | settings_save(); | ||
456 | } | ||
457 | 455 | ||
458 | start_wps = true; | 456 | start_wps = true; |
459 | } | 457 | } |