From 9e8918b0866b249a55c06a16a243cdd3dcdad305 Mon Sep 17 00:00:00 2001 From: Christi Scarborough Date: Wed, 29 Jun 2005 12:23:09 +0000 Subject: Resume rework. With the new resume function, 'Ask' and 'Ask Once' are redundant options, since you can resume after any startup using the resume key. These have been stripped out, and the resume code has been streamlined. A small bug in button handler initialisation has been fixed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6911 a1c6a512-1295-4272-9138-f99709370657 --- apps/filetree.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'apps/filetree.c') 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) } if ( play ) { - if ( global_settings.resume ) { - /* the resume_index must always be the index in the - shuffled list in case shuffle is enabled */ - global_settings.resume_index = start_index; - global_settings.resume_offset = 0; - settings_save(); - } + /* the resume_index must always be the index in the + shuffled list in case shuffle is enabled */ + global_settings.resume_index = start_index; + global_settings.resume_offset = 0; + settings_save(); start_wps = true; } -- cgit v1.2.3