summaryrefslogtreecommitdiff
path: root/apps/radio/presets.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/radio/presets.c')
-rw-r--r--apps/radio/presets.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/radio/presets.c b/apps/radio/presets.c
index 368cb71e14..98a33d14ad 100644
--- a/apps/radio/presets.c
+++ b/apps/radio/presets.c
@@ -433,12 +433,14 @@ MENUITEM_FUNCTION(radio_delete_preset_item, MENU_FUNC_CHECK_RETVAL,
433 ID2P(LANG_FM_DELETE_PRESET), 433 ID2P(LANG_FM_DELETE_PRESET),
434 radio_delete_preset, NULL, NULL, Icon_NOICON); 434 radio_delete_preset, NULL, NULL, Icon_NOICON);
435static int radio_preset_callback(int action, 435static int radio_preset_callback(int action,
436 const struct menu_item_ex *this_item) 436 const struct menu_item_ex *this_item,
437 struct gui_synclist *this_list)
437{ 438{
438 if (action == ACTION_STD_OK) 439 if (action == ACTION_STD_OK)
439 action = ACTION_EXIT_AFTER_THIS_MENUITEM; 440 action = ACTION_EXIT_AFTER_THIS_MENUITEM;
440 return action; 441 return action;
441 (void)this_item; 442 (void)this_item;
443 (void)this_list;
442} 444}
443MAKE_MENU(handle_radio_preset_menu, ID2P(LANG_PRESET), 445MAKE_MENU(handle_radio_preset_menu, ID2P(LANG_PRESET),
444 radio_preset_callback, Icon_NOICON, &radio_edit_preset_item, 446 radio_preset_callback, Icon_NOICON, &radio_edit_preset_item,