summaryrefslogtreecommitdiff
path: root/apps/menus/main_menu.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-11 16:15:11 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-11 16:15:11 +0000
commit3f377e568e29165509b9b1e2dd71ca14acde8759 (patch)
tree00c1fad072e9fecdcc1a5f235c769900dfda5f9e /apps/menus/main_menu.c
parent5ead6a60568d268e112b6753dde8d3e40808ac07 (diff)
downloadrockbox-3f377e568e29165509b9b1e2dd71ca14acde8759.tar.gz
rockbox-3f377e568e29165509b9b1e2dd71ca14acde8759.zip
Use menu layout for sleep timer that is consistent to other timers. Closes FS#11923.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29283 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menus/main_menu.c')
-rw-r--r--apps/menus/main_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index 54fdb55b09..6ee7ba4156 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -419,7 +419,7 @@ static int sleep_timer(void)
419{ 419{
420 int minutes = (get_sleep_timer() + 59) / 60; /* round up */ 420 int minutes = (get_sleep_timer() + 59) / 60; /* round up */
421 return (int)set_int(str(LANG_SLEEP_TIMER), "", UNIT_MIN, &minutes, 421 return (int)set_int(str(LANG_SLEEP_TIMER), "", UNIT_MIN, &minutes,
422 &sleep_timer_set, -5, 300, 0, sleep_timer_formatter); 422 &sleep_timer_set, 5, 0, 300, sleep_timer_formatter);
423} 423}
424 424
425 425