forked from len0rd/rockbox
Change anywhere where do_menu()'s return value was checked and expected
a bool to appear the same as the old API. Possibly fixes some bugs, but doubtful. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12772 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
15c5d26de6
commit
b35c1d8d35
4 changed files with 5 additions and 6 deletions
|
@ -1442,7 +1442,6 @@ MENUITEM_FUNCTION(recscreen_item, ID2P(LANG_RECORDING_MENU),
|
|||
static int fm_recording_settings(void)
|
||||
{
|
||||
bool ret = recording_menu(true);
|
||||
|
||||
#if CONFIG_CODEC != SWCODEC
|
||||
if (!ret)
|
||||
{
|
||||
|
@ -1503,7 +1502,7 @@ MAKE_MENU(radio_menu_items, ID2P(LANG_FM_MENU), NULL,
|
|||
/* main menu of the radio screen */
|
||||
static bool radio_menu(void)
|
||||
{
|
||||
return (bool)do_menu(&radio_menu_items, NULL);
|
||||
return do_menu(&radio_menu_items, NULL) == MENU_ATTACHED_USB;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue