summaryrefslogtreecommitdiffstats
path: root/apps/menus
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-10-06 14:01:35 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-10-06 14:01:35 +0200
commit78ca74a56f1b7535468e77e1af99ca7ea3097b6e (patch)
treed2bf0aa29cc2228f412a2002ec338ca005f5664a /apps/menus
parent2c3b8bd1e2887b8c5c825fa42cced6f8490493b5 (diff)
downloadrockbox-78ca74a56f1b7535468e77e1af99ca7ea3097b6e.tar.gz
rockbox-78ca74a56f1b7535468e77e1af99ca7ea3097b6e.tar.bz2
rockbox-78ca74a56f1b7535468e77e1af99ca7ea3097b6e.zip
Fix read caused by 71f7011.
Change-Id: I1b494bf0d63d5c8668527d1fe39392ec2f018d3b
Diffstat (limited to 'apps/menus')
-rw-r--r--apps/menus/settings_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c
index fbc83fd60d..95423a20fa 100644
--- a/apps/menus/settings_menu.c
+++ b/apps/menus/settings_menu.c
@@ -458,7 +458,7 @@ static int sleeptimer_duration_cb(int action,
case ACTION_EXIT_MENUITEM:
if (initial_duration != global_settings.sleeptimer_duration
&& get_sleep_timer())
- set_sleep_timer(global_settings.sleeptimer_duration * 60);
+ set_sleeptimer_duration(global_settings.sleeptimer_duration);
}
return action;
}