summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-03-17 11:53:53 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-03-17 11:53:53 +0000
commitbf2a02f9ba613aaefd23440911550e8080e14e32 (patch)
tree795646ad5de048df2b8d728c97a59d771b48eeca
parent689eef3342fa6092c87e8cc8a033e1d4210ba1ea (diff)
downloadrockbox-bf2a02f9ba613aaefd23440911550e8080e14e32.zip
rockbox-bf2a02f9ba613aaefd23440911550e8080e14e32.tar.gz
rockbox-bf2a02f9ba613aaefd23440911550e8080e14e32.tar.bz2
rockbox-bf2a02f9ba613aaefd23440911550e8080e14e32.tar.xz
Oooops! Forgot to update the radio code for the button bar changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4397 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/recorder/radio.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 86e11f9..5430279 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -580,7 +580,7 @@ void radio_load_presets(void)
bool radio_preset_select(void)
{
- struct menu_items menu[MAX_PRESETS];
+ struct menu_item menu[MAX_PRESETS];
int m, result;
int i;
bool reload_dir = false;
@@ -605,7 +605,7 @@ bool radio_preset_select(void)
if(num_presets)
{
/* DIY menu handling, since we want to exit after selection */
- m = menu_init( menu, num_presets, NULL );
+ m = menu_init( menu, num_presets, NULL, NULL, NULL, NULL );
result = menu_show(m);
menu_exit(m);
if (result == MENU_SELECTED_EXIT)
@@ -655,7 +655,7 @@ static bool radio_add_preset(void)
bool radio_delete_preset(void)
{
- struct menu_items menu[MAX_PRESETS];
+ struct menu_item menu[MAX_PRESETS];
int m, result;
int i;
bool reload_dir = false;
@@ -678,7 +678,7 @@ bool radio_delete_preset(void)
}
/* DIY menu handling, since we want to exit after selection */
- m = menu_init( menu, num_presets, NULL );
+ m = menu_init( menu, num_presets, NULL, NULL, NULL, NULL );
result = menu_show(m);
menu_exit(m);
if (result == MENU_SELECTED_EXIT)
@@ -716,7 +716,7 @@ static bool fm_recording_settings(void)
bool radio_menu(void)
{
- struct menu_items radio_menu_items[] = {
+ struct menu_item radio_menu_items[] = {
{ STR(LANG_FM_SAVE_PRESET), radio_add_preset },
{ STR(LANG_FM_DELETE_PRESET), radio_delete_preset },
{ STR(LANG_SOUND_SETTINGS), sound_menu },
@@ -726,7 +726,8 @@ bool radio_menu(void)
bool result;
m = menu_init( radio_menu_items,
- sizeof radio_menu_items / sizeof(struct menu_items), NULL );
+ sizeof radio_menu_items / sizeof(struct menu_item), NULL,
+ NULL, NULL, NULL);
result = menu_run(m);
menu_exit(m);
return result;