summaryrefslogtreecommitdiffstats
path: root/apps/menus/sound_menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-03-15 04:42:10 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-03-15 04:42:10 +0000
commitb35c1d8d35bec9998ac4d691624de24b51d2bc4e (patch)
treeeaa490a80283a65e7c50d5cb28bed2e563bbca0e /apps/menus/sound_menu.c
parent15c5d26de6a90a211de4262e055af212575aea6d (diff)
downloadrockbox-b35c1d8d35bec9998ac4d691624de24b51d2bc4e.tar.gz
rockbox-b35c1d8d35bec9998ac4d691624de24b51d2bc4e.zip
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
Diffstat (limited to 'apps/menus/sound_menu.c')
-rw-r--r--apps/menus/sound_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menus/sound_menu.c b/apps/menus/sound_menu.c
index 4efc36bdf2..92422ae3e3 100644
--- a/apps/menus/sound_menu.c
+++ b/apps/menus/sound_menu.c
@@ -113,5 +113,5 @@ MAKE_MENU(sound_settings, ID2P(LANG_SOUND_SETTINGS), NULL, Icon_Audio,
bool sound_menu(void)
{
- return do_menu(&sound_settings, 0);
+ return do_menu(&sound_settings, 0) == MENU_ATTACHED_USB;
}