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/settings_menu.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'apps/settings_menu.c') diff --git a/apps/settings_menu.c b/apps/settings_menu.c index b10c7d32ab..5dcf66789f 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -656,14 +656,7 @@ static bool sort_dir(void) static bool resume(void) { - static const struct opt_items names[] = { - { STR(LANG_SET_BOOL_NO) }, - { STR(LANG_RESUME_SETTING_ASK) }, - { STR(LANG_RESUME_SETTING_ASK_ONCE) }, - { STR(LANG_SET_BOOL_YES) } - }; - return set_option( str(LANG_RESUME), &global_settings.resume, INT, - names, 4, NULL ); + return set_bool( str(LANG_RESUME), &global_settings.resume); } static bool autocreatebookmark(void) -- cgit v1.2.3