summaryrefslogtreecommitdiff
path: root/apps/recorder
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-03-12 10:20:33 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-03-12 10:20:33 +0000
commit10b92c44b3bac97e01be91409df6e7ccb94ea045 (patch)
tree4f98b439e02091abcfe5fe977f5179a9ac86e646 /apps/recorder
parent5c09ed38c6dc19fd03eb47971433993d7afd8605 (diff)
downloadrockbox-10b92c44b3bac97e01be91409df6e7ccb94ea045.tar.gz
rockbox-10b92c44b3bac97e01be91409df6e7ccb94ea045.zip
First step towards context sensitive and configurable menus, by Brent Coutts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4370 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/radio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index fdb1f1bbf7..a9937a3f60 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -604,7 +604,7 @@ bool radio_preset_select(void)
604 if(num_presets) 604 if(num_presets)
605 { 605 {
606 /* DIY menu handling, since we want to exit after selection */ 606 /* DIY menu handling, since we want to exit after selection */
607 m = menu_init( menu, num_presets ); 607 m = menu_init( menu, num_presets, NULL );
608 result = menu_show(m); 608 result = menu_show(m);
609 menu_exit(m); 609 menu_exit(m);
610 if (result == MENU_SELECTED_EXIT) 610 if (result == MENU_SELECTED_EXIT)
@@ -676,7 +676,7 @@ bool radio_delete_preset(void)
676 } 676 }
677 677
678 /* DIY menu handling, since we want to exit after selection */ 678 /* DIY menu handling, since we want to exit after selection */
679 m = menu_init( menu, num_presets ); 679 m = menu_init( menu, num_presets, NULL );
680 result = menu_show(m); 680 result = menu_show(m);
681 menu_exit(m); 681 menu_exit(m);
682 if (result == MENU_SELECTED_EXIT) 682 if (result == MENU_SELECTED_EXIT)
@@ -724,7 +724,7 @@ bool radio_menu(void)
724 bool result; 724 bool result;
725 725
726 m = menu_init( radio_menu_items, 726 m = menu_init( radio_menu_items,
727 sizeof radio_menu_items / sizeof(struct menu_items) ); 727 sizeof radio_menu_items / sizeof(struct menu_items), NULL );
728 result = menu_run(m); 728 result = menu_run(m);
729 menu_exit(m); 729 menu_exit(m);
730 return result; 730 return result;